mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
539f2b2a4a
With linux/amd64 and linux/arm64 Use Docker Compose 2.1.1 instead of Docker Compose 1.x Reduce Docker images size, based on Alpine and Debian, again
42 lines
991 B
Docker
42 lines
991 B
Docker
FROM --platform=$BUILDPLATFORM debian:11-slim
|
|
|
|
RUN set -e; \
|
|
apt-get update -yqq; \
|
|
apt-get install \
|
|
ca-certificates curl gettext-base jq -yqq; \
|
|
\
|
|
apt-get clean; \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
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"]
|