gitpod/components/blobserve/leeway.Dockerfile
Manuel Alejandro de Brito Fontes c407cafe2e
Add new github action to update container images digest (#17349)
* Add new github action to update container images digest

* Add latest tag to dockerfiles

* Update .github/workflows/update-image-digest.yml

Co-authored-by: Milan Pavlik <milan@gitpod.io>

---------

Co-authored-by: Milan Pavlik <milan@gitpod.io>
2023-04-26 21:13:34 +08:00

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: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" ]