psu/Dockerfile.debian
Tortue Torche 54b0f3854a Breaking Change: HTTPie is replaced by cURL
For smaller Docker images, faster execution and to be more portable
Running concurrently 'psu' commands should work now, by creating unique
temporary file names
2021-09-14 13:41:15 +02:00

47 lines
1.2 KiB
Docker

FROM debian:11-slim
ARG DOCKER_COMPOSE_VERSION=1.29.2
RUN set -e; \
apt-get update -yqq; \
apt-get install \
ca-certificates curl gettext-base jq -yqq; \
\
curl --fail --silent --location "https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose; \
chmod +x /usr/local/bin/docker-compose; \
\
apt-get clean; \
rm -rf /var/lib/apt/lists/*; \
rm -rf $(find / -regex '.*\.py[co]')
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"]