2019-08-11 07:27:39 +00:00
|
|
|
FROM alpine:3.10
|
2018-11-19 19:16:44 +00:00
|
|
|
|
2021-02-08 08:36:45 +00:00
|
|
|
RUN set -e; \
|
|
|
|
apk add --no-cache \
|
2019-10-22 16:40:38 +00:00
|
|
|
bash ca-certificates gettext jq \
|
2021-02-08 09:03:14 +00:00
|
|
|
py3-pip python3-dev libc-dev libffi-dev openssl-dev gcc make musl-dev cargo; \
|
2019-12-04 14:23:08 +00:00
|
|
|
\
|
2021-02-08 09:03:14 +00:00
|
|
|
pip3 --no-cache-dir install 'docker-compose>=1.24.1,<1.25.0' 'httpie>=1.0.3,<1.1.0' 'cryptography>=3.3.0,<3.4.0'; \
|
2019-12-04 14:23:08 +00:00
|
|
|
\
|
2021-02-16 15:23:36 +00:00
|
|
|
apk del python3-dev libc-dev libffi-dev openssl-dev gcc make musl-dev cargo; \
|
2019-12-04 14:23:08 +00:00
|
|
|
rm -rf /tmp/src
|
2019-08-11 07:34:51 +00:00
|
|
|
|
2018-11-19 19:16:44 +00:00
|
|
|
ENV LANG="en_US.UTF-8" \
|
2019-08-11 07:30:04 +00:00
|
|
|
LC_ALL="C.UTF-8" \
|
|
|
|
LANGUAGE="en_US.UTF-8" \
|
|
|
|
TERM="xterm" \
|
|
|
|
ACTION="" \
|
|
|
|
PORTAINER_USER="" \
|
|
|
|
PORTAINER_PASSWORD="" \
|
|
|
|
PORTAINER_AUTH_TOKEN="" \
|
|
|
|
PORTAINER_URL="" \
|
|
|
|
PORTAINER_STACK_NAME="" \
|
|
|
|
PORTAINER_SERVICE_NAME="" \
|
|
|
|
DOCKER_COMPOSE_FILE="" \
|
|
|
|
DOCKER_COMPOSE_LINT="true" \
|
|
|
|
ENVIRONMENT_VARIABLES_FILE="" \
|
|
|
|
PORTAINER_ENDPOINT="1" \
|
|
|
|
PORTAINER_PRUNE="false" \
|
|
|
|
TIMEOUT=100 \
|
|
|
|
AUTO_DETECT_JOB="true" \
|
|
|
|
HTTPIE_VERIFY_SSL="yes" \
|
|
|
|
VERBOSE_MODE="false" \
|
|
|
|
DEBUG_MODE="false" \
|
|
|
|
QUIET_MODE="false" \
|
|
|
|
STRICT_MODE="false" \
|
|
|
|
MASKED_VARIABLES="false"
|
2018-11-19 19:16:44 +00:00
|
|
|
|
2018-11-24 23:34:40 +00:00
|
|
|
COPY psu /usr/local/bin/
|
2018-11-19 19:16:44 +00:00
|
|
|
|
2019-08-11 07:35:33 +00:00
|
|
|
RUN chmod +x /usr/local/bin/psu
|
2018-11-27 00:24:14 +00:00
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/local/bin/psu"]
|