psu/Dockerfile

36 lines
659 B
Docker
Raw Normal View History

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="" \
PORTAINER_USER="" \
PORTAINER_PASSWORD="" \
PORTAINER_URL="" \
2018-11-25 02:41:26 +00:00
PORTAINER_STACK_NAME="" \
DOCKER_COMPOSE_FILE="" \
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/*
ENTRYPOINT ["/usr/local/bin/psu"]