mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
24 lines
739 B
Docker
24 lines
739 B
Docker
# Copyright (c) 2020 Gitpod GmbH. All rights reserved.
|
|
# Licensed under the GNU Affero General Public License (AGPL).
|
|
# See License.AGPL.txt in the project root for license information.
|
|
|
|
FROM cgr.dev/chainguard/wolfi-base:latest@sha256:3e3a125c18346ee7b95980be96529d39eb9f799e140aab2b02218a1bd67bfb18
|
|
|
|
# Ensure latest packages are present, like security updates.
|
|
RUN apk upgrade --no-cache \
|
|
&& apk add --no-cache ca-certificates
|
|
|
|
RUN adduser -S -D -H -h /app -u 1000 appuser
|
|
COPY components-blobserve--app/blobserve /app/blobserve
|
|
RUN chown -R appuser /app
|
|
|
|
USER appuser
|
|
|
|
ARG __GIT_COMMIT
|
|
ARG VERSION
|
|
|
|
ENV GITPOD_BUILD_GIT_COMMIT=${__GIT_COMMIT}
|
|
ENV GITPOD_BUILD_VERSION=${VERSION}
|
|
ENTRYPOINT [ "/app/blobserve" ]
|
|
CMD [ "-v", "help" ]
|