mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
21 lines
602 B
Docker
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" ]
|