gitpod/components/ide-metrics/leeway.Dockerfile
2022-12-08 13:05:19 -03:00

21 lines
602 B
Docker

# Copyright (c) 2022 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 \
# bash: for devx
# tar: make kubectl cp work
&& apk add --no-cache ca-certificates bash tar
COPY components-ide-metrics--app/ide-metrics /app/ide-metrics
ARG __GIT_COMMIT
ARG VERSION
ENV GITPOD_BUILD_GIT_COMMIT=${__GIT_COMMIT}
ENV GITPOD_BUILD_VERSION=${VERSION}
ENTRYPOINT [ "/app/ide-metrics" ]