Update ALPINE

This commit is contained in:
Alex Couture-Beil 2024-01-23 10:42:08 -08:00 committed by Alex Couture-Beil
parent be3fe0c1f8
commit fb155fc64c
No known key found for this signature in database
GPG Key ID: 097FC39A210CE7F7

View File

@ -1,7 +1,7 @@
VERSION 0.6 VERSION 0.6
npm-base: npm-base:
FROM alpine:3.13.5 FROM alpine:3.19
RUN apk add --update nodejs npm RUN apk add --update nodejs npm
COPY ./package.json ./ COPY ./package.json ./
COPY ./package-lock.json ./ COPY ./package-lock.json ./
@ -32,7 +32,7 @@ compile:
SAVE ARTIFACT node_modules AS LOCAL node_modules SAVE ARTIFACT node_modules AS LOCAL node_modules
test-compile-was-run: test-compile-was-run:
FROM alpine:3.13.5 FROM alpine:3.19
COPY dist /from-git COPY dist /from-git
COPY +compile/dist /from-compile COPY +compile/dist /from-compile
RUN diff -r /from-git /from-compile >/dev/null || (echo "dist and +compile/dist are different, did you forget to run earthly +compile?" && exit 1) RUN diff -r /from-git /from-compile >/dev/null || (echo "dist and +compile/dist are different, did you forget to run earthly +compile?" && exit 1)
@ -60,7 +60,7 @@ test-run:
RUN grep 'Found tool in cache' output2 RUN grep 'Found tool in cache' output2
lint-newline: lint-newline:
FROM alpine:3.15 FROM alpine:3.19
WORKDIR /everything WORKDIR /everything
COPY . . COPY . .
# test that line endings are unix-style # test that line endings are unix-style