Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit d0028a4

Browse files
Update alpine/Dockerfile
It's considered better to use `--no-cache` with `apk` in Docker since it's better suited for Dockers caching of layers etc and requires fewer steps.
1 parent 9dea5e1 commit d0028a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG NODE_VERSION
22
FROM node:${NODE_VERSION}
33

4-
RUN apk update && apk upgrade && apk add build-base gcc autoconf automake zlib-dev libpng-dev nasm bash
4+
RUN apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev nasm bash
55

66
EXPOSE 1337

0 commit comments

Comments
 (0)