2018-11-19 19:16:44 +00:00
|
|
|
FROM alpine
|
|
|
|
|
|
|
|
ENV LANG="en_US.UTF-8" \
|
|
|
|
LC_ALL="C.UTF-8" \
|
|
|
|
LANGUAGE="en_US.UTF-8" \
|
|
|
|
TERM="xterm" \
|
2018-11-25 02:41:26 +00:00
|
|
|
ACTION="" \
|
2018-11-25 02:42:24 +00:00
|
|
|
PORTAINER_USER="" \
|
|
|
|
PORTAINER_PASSWORD="" \
|
|
|
|
PORTAINER_URL="" \
|
2018-11-25 02:41:26 +00:00
|
|
|
PORTAINER_STACK_NAME="" \
|
|
|
|
DOCKER_COMPOSE_FILE="" \
|
2019-05-11 03:39:15 +00:00
|
|
|
ENVIRONMENT_VARIABLES_FILE="" \
|
2018-11-19 19:16:44 +00:00
|
|
|
PORTAINER_PRUNE="false" \
|
2018-11-26 05:20:04 +00:00
|
|
|
PORTAINER_ENDPOINT="1" \
|
2018-11-25 02:41:26 +00:00
|
|
|
HTTPIE_VERIFY_SSL="yes" \
|
|
|
|
VERBOSE_MODE="false" \
|
2018-11-25 17:41:02 +00:00
|
|
|
DEBUG_MODE="false" \
|
|
|
|
STRICT_MODE="false"
|
2018-11-19 19:16:44 +00:00
|
|
|
|
|
|
|
RUN apk --update add \
|
|
|
|
bash \
|
|
|
|
ca-certificates \
|
|
|
|
httpie \
|
|
|
|
jq \
|
2018-11-21 20:50:21 +00:00
|
|
|
gettext \
|
2018-11-19 19:16:44 +00:00
|
|
|
&& \
|
|
|
|
rm -rf /tmp/src && \
|
|
|
|
rm -rf /var/cache/apk/*
|
|
|
|
|
2018-11-24 23:34:40 +00:00
|
|
|
COPY psu /usr/local/bin/
|
2018-11-19 19:16:44 +00:00
|
|
|
|
2018-11-21 21:32:05 +00:00
|
|
|
RUN chmod +x /usr/local/bin/*
|
2018-11-27 00:24:14 +00:00
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/local/bin/psu"]
|