2021-09-03 08:45:40 +00:00
|
|
|
FROM alpine:3.14
|
2019-12-04 14:23:08 +00:00
|
|
|
|
2020-07-08 12:44:08 +00:00
|
|
|
RUN set -e; \
|
|
|
|
apk add --no-cache \
|
2021-09-03 08:45:40 +00:00
|
|
|
bash ca-certificates gettext jq py3-pip; \
|
|
|
|
pip3 --no-cache-dir install httpie; \
|
|
|
|
rm -rf $(find / -regex '.*\.py[co]')
|
2019-12-04 14:23:08 +00:00
|
|
|
|
|
|
|
ENV LANG="en_US.UTF-8" \
|
|
|
|
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="false" \
|
|
|
|
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" \
|
|
|
|
PSU_CORE_EDITION="true"
|
|
|
|
|
|
|
|
COPY psu /usr/local/bin/
|
|
|
|
|
|
|
|
RUN chmod +x /usr/local/bin/psu
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/local/bin/psu"]
|