Skip to content

Commit

Permalink
pdate to use release 2022.01
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Emms authored and mrsimonemms committed Jan 28, 2022
1 parent 8e6cec9 commit e7c4418
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit e7c4418

Please sign in to comment.