gitpod/components/image-builder-mk3/leeway.Dockerfile
2022-12-08 13:05:19 -03:00

21 lines
605 B
Docker

# Copyright (c) 2021 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 alpine:3.16
# Ensure latest packages are present, like security updates.
RUN apk upgrade --no-cache \
&& apk add --no-cache git bash ca-certificates
COPY components-image-builder-mk3--app/image-builder /app/
RUN chmod +x /app/image-builder
ARG __GIT_COMMIT
ARG VERSION
ENV GITPOD_BUILD_GIT_COMMIT=${__GIT_COMMIT}
ENV GITPOD_BUILD_VERSION=${VERSION}
ENTRYPOINT [ "/app/image-builder" ]
CMD [ "-v", "help" ]