2021-11-30 16:52:51 +00:00
|
|
|
FROM --platform=$BUILDPLATFORM debian:11-slim
|
2021-09-03 08:45:40 +00:00
|
|
|
|
2021-12-07 17:13:52 +00:00
|
|
|
ARG DOCKER_COMPOSE_VERSION="v2.2.2"
|
2019-12-04 14:23:08 +00:00
|
|
|
|
2020-07-08 12:44:08 +00:00
|
|
|
RUN set -e; \
|
|
|
|
apt-get update -yqq; \
|
2019-12-04 14:23:08 +00:00
|
|
|
apt-get install \
|
2021-09-14 11:41:15 +00:00
|
|
|
ca-certificates curl gettext-base jq -yqq; \
|
2019-12-04 14:23:08 +00:00
|
|
|
\
|
2021-11-30 16:52:51 +00:00
|
|
|
curl --fail --location --silent "https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m)" --output /usr/local/bin/docker-compose; \
|
2019-12-04 14:23:08 +00:00
|
|
|
chmod +x /usr/local/bin/docker-compose; \
|
|
|
|
\
|
|
|
|
apt-get clean; \
|
2021-11-30 16:52:51 +00:00
|
|
|
rm -rf /var/lib/apt/lists/*
|
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="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"
|
|
|
|
|
|
|
|
COPY psu /usr/local/bin/
|
|
|
|
|
|
|
|
RUN chmod +x /usr/local/bin/psu
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/local/bin/psu"]
|