From e7c44182651a2e836ebdd3d93e658f4e25b3efae Mon Sep 17 00:00:00 2001 From: Simon Emms Date: Fri, 28 Jan 2022 11:09:05 +0000 Subject: [PATCH] pdate to use release 2022.01 --- Dockerfile | 9 ++++----- Makefile | 3 +-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index f422e93..98a4540 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,7 @@ -ARG GITPOD_VERSION="main.1988" - -FROM eu.gcr.io/gitpod-core-dev/build/installer:$GITPOD_VERSION as installer - FROM alpine:edge +ARG GITPOD_VERSION="2022.01" + RUN apk add --no-cache \ bash \ curl \ @@ -31,7 +29,8 @@ RUN curl -fsSL "https://storage.googleapis.com/kubernetes-release/release/$(curl RUN curl -fsSL https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v0.5.3/aws-iam-authenticator_0.5.3_linux_amd64 -o /usr/local/bin/aws-iam-authenticator \ && chmod +x /usr/local/bin/aws-iam-authenticator -COPY --from=installer /app/installer /usr/local/bin/gitpod-installer +RUN curl -fsSL https://github.com/gitpod-io/gitpod/releases/download/${GITPOD_VERSION}/gitpod-installer-linux-amd64 -o /usr/local/bin/gitpod-installer \ + && chmod +x /usr/local/bin/gitpod-installer WORKDIR /gitpod diff --git a/Makefile b/Makefile index 028f04f..4591012 100644 --- a/Makefile +++ b/Makefile @@ -18,11 +18,10 @@ else endif build: ## Build docker image containing the required tools for the installation - @docker build --squash --quiet . -t ${IMG} + @docker build --quiet . -t ${IMG} @mkdir -p ${PWD}/logs DOCKER_RUN_CMD = docker run -it \ - --pull always \ --env-file ${PWD}/.env \ --env NODE_ENV=production \ --volume ${PWD}/.kubeconfig:/gitpod/.kubeconfig \