compass-admin
  • Joined on 2026-07-21

compass-auth (54f80d92062e0018449bc0d69ab05c4905645e4d)

Published 2026-09-20 18:49:44 +08:00 by compass-admin

Installation

docker pull git.youalltech.com/compass-admin/compass-auth:54f80d92062e0018449bc0d69ab05c4905645e4d
sha256:db0c6587a230610639afcc656b22cd3446c4958bc3e6c85bb9094e8a383951b2

Image Layers

ADD alpine-minirootfs-3.19.9-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ARG COMPASS_BUILD_COMMIT=0000000000000000000000000000000000000000
ARG COMPASS_BUILD_TIME=1970-01-01T00:00:00Z
ARG COMPASS_RELEASE_ID=compass-0000000000000000000000000000000000000000
ARG COMPASS_SOURCE_URL=https://git.youalltech.com/compass-admin/compass
ARG COMPASS_BUILD_DIRTY=false
ARG ALPINE_PACKAGE_MIRROR=https://mirrors.aliyun.com/alpine
LABEL com.compass.managed=true com.compass.artifact=application com.compass.image-key=auth com.compass.release-commit=54f80d92062e0018449bc0d69ab05c4905645e4d org.opencontainers.image.revision=54f80d92062e0018449bc0d69ab05c4905645e4d org.opencontainers.image.created=2026-09-20T10:46:36Z org.opencontainers.image.version=compass-54f80d92062e0018449bc0d69ab05c4905645e4d org.opencontainers.image.source=https://git.youalltech.com/compass-admin/compass
RUN |6 COMPASS_BUILD_COMMIT=54f80d92062e0018449bc0d69ab05c4905645e4d COMPASS_BUILD_TIME=2026-09-20T10:46:36Z COMPASS_RELEASE_ID=compass-54f80d92062e0018449bc0d69ab05c4905645e4d COMPASS_SOURCE_URL=https://git.youalltech.com/compass-admin/compass COMPASS_BUILD_DIRTY=false ALPINE_PACKAGE_MIRROR=https://mirrors.aliyun.com/alpine /bin/sh -c set -eu; alpine_branch="v$(cut -d. -f1,2 /etc/alpine-release)"; installed=false; for mirror in "$ALPINE_PACKAGE_MIRROR" "https://mirrors.tuna.tsinghua.edu.cn/alpine" "https://dl-cdn.alpinelinux.org/alpine"; do printf '%s/%s/main\n%s/%s/community\n' "$mirror" "$alpine_branch" "$mirror" "$alpine_branch" > /etc/apk/repositories; if apk add --no-cache ca-certificates tzdata; then installed=true; break; fi; echo "apk install failed via $mirror; trying next signed mirror" >&2; sleep 2; done; if [ "$installed" != true ]; then echo "apk install failed for every configured Alpine mirror" >&2; exit 1; fi; addgroup -S app && adduser -S -G app app # buildkit
WORKDIR /app
RUN |6 COMPASS_BUILD_COMMIT=54f80d92062e0018449bc0d69ab05c4905645e4d COMPASS_BUILD_TIME=2026-09-20T10:46:36Z COMPASS_RELEASE_ID=compass-54f80d92062e0018449bc0d69ab05c4905645e4d COMPASS_SOURCE_URL=https://git.youalltech.com/compass-admin/compass COMPASS_BUILD_DIRTY=false ALPINE_PACKAGE_MIRROR=https://mirrors.aliyun.com/alpine /bin/sh -c mkdir -p /app/data/geoip && chmod 0755 /app/data /app/data/geoip # buildkit
ENV GO_AUTH_TENANT_SURFACE=public GO_AUTH_TENANT_HOST=0.0.0.0 GO_AUTH_TENANT_PORT=8081 GO_AUTH_TENANT_ADMIN_API_HOST=0.0.0.0 GO_AUTH_TENANT_ADMIN_API_PORT=8085 COMPASS_BUILD_COMMIT=54f80d92062e0018449bc0d69ab05c4905645e4d COMPASS_BUILD_TIME=2026-09-20T10:46:36Z COMPASS_RELEASE_ID=compass-54f80d92062e0018449bc0d69ab05c4905645e4d COMPASS_BUILD_DIRTY=false APP_ENV=production LOG_LEVEL=info
COPY /out/auth-tenant-service /app/auth-tenant-service # buildkit
COPY /out/auth-tenant-reset-password /app/auth-tenant-reset-password # buildkit
COPY /out/auth-tenant-migrate /app/auth-tenant-migrate # buildkit
COPY --chown=app:app --chmod=0444 data/geoip/GeoLite2-City.mmdb /app/data/geoip/GeoLite2-City.mmdb # buildkit
USER app
EXPOSE map[8081/tcp:{} 8085/tcp:{}]
ENTRYPOINT ["/app/auth-tenant-service"]

Labels

Key Value
com.compass.artifact application
com.compass.image-key auth
com.compass.managed true
com.compass.release-commit 54f80d92062e0018449bc0d69ab05c4905645e4d
org.opencontainers.image.created 2026-09-20T10:46:36Z
org.opencontainers.image.revision 54f80d92062e0018449bc0d69ab05c4905645e4d
org.opencontainers.image.source https://git.youalltech.com/compass-admin/compass
org.opencontainers.image.version compass-54f80d92062e0018449bc0d69ab05c4905645e4d