mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
21 lines
600 B
Docker
21 lines
600 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.
|
|
|
|
ARG VERSION
|
|
|
|
FROM alpine as dependencies
|
|
|
|
RUN apk add -U wget
|
|
|
|
RUN wget -O /jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 \
|
|
&& chmod +x /jq
|
|
|
|
RUN wget -O /kubectl https://dl.k8s.io/release/v1.24.3/bin/linux/amd64/kubectl \
|
|
&& chmod +x /kubectl
|
|
|
|
FROM docker.io/ipfs/ipfs-cluster:${VERSION}
|
|
|
|
COPY --from=dependencies /jq /usr/bin/jq
|
|
COPY --from=dependencies /kubectl /usr/bin/kubectl
|