File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ RUN apt-get update && \
29
29
mkdir --parents /usr/local/go && \
30
30
tar --extract --gzip --directory=/usr/local/go --file=/usr/local/go.tar.gz --strip-components=1 && \
31
31
mkdir --parents "$GOPATH" && \
32
+ go env -w GOSUMDB=sum.golang.org && \
32
33
# moq for Go tests.
33
34
go install github.com/matryer/moq@v0.2.3 && \
34
35
# swag for Swagger doc generation
@@ -252,9 +253,9 @@ RUN source $NVM_DIR/nvm.sh && \
252
253
nvm install $NODE_VERSION && \
253
254
nvm use $NODE_VERSION
254
255
ENV PATH=$NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
255
- # Allow patch updates for npm and pnpm
256
- RUN npm install -g npm@10.8.1 --integrity=sha512-Dp1C6SvSMYQI7YHq/y2l94uvI+59Eqbu1EpuKQHQ8p16txXRuRit5gH3Lnaagk2aXDIjg/Iru9pd05bnneKgdw==
257
- RUN npm install -g pnpm@9.15.1 --integrity=sha512-GstWXmGT7769p3JwKVBGkVDPErzHZCYudYfnHRncmKQj3/lTblfqRMSb33kP9pToPCe+X6oj1n4MAztYO+S/zw==
256
+ RUN corepack enable && \
257
+ corepack prepare npm@10.8.1 --activate && \
258
+ corepack prepare pnpm@9.15.1 --activate
258
259
259
260
RUN pnpx playwright@1.47.0 install --with-deps chromium
260
261
Original file line number Diff line number Diff line change 1
1
# This is the base image used for Coder images. It's a multi-arch image that is
2
2
# built in depot.dev for all supported architectures. Since it's built on real
3
3
# hardware and not cross-compiled, it can have "RUN" commands.
4
- FROM alpine:3.21.3
4
+ FROM alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c
5
5
6
6
# We use a single RUN command to reduce the number of layers in the image.
7
7
# NOTE: Keep the Terraform version in sync with minTerraformVersion and
You can’t perform that action at this time.
0 commit comments