mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
* Update k8s dependencies to v0.26.2 * Update controller-runtime to v0.14.6 * Update cloud storage https://github.com/googleapis/google-cloud-go/issues/6857 * Update copy options * Update wolfi image * Remove controller-runtime replace directives * Fix integration tests
24 lines
732 B
Docker
24 lines
732 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@sha256:a7db49b55bd97c12cd686272325bbac236830111db336e084b89f5c816ab0537
|
|
|
|
# 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" ]
|