workflows commited on
Commit
36726d4
·
verified ·
1 Parent(s): f00d297

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -4,8 +4,11 @@ FROM docker.n8n.io/n8nio/n8n:$N8N_VERSION
4
 
5
  USER root
6
 
7
- RUN apk add --no-cache ffmpeg curl wget
8
-
 
 
 
9
  LABEL maintainer="PawPaw <pawpaw.storeid@gmail.com>"
10
 
11
  ENV N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true \
 
4
 
5
  USER root
6
 
7
+ # Download and use a static apk binary to install packages
8
+ RUN wget -qO- https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/apk-tools-static-2.14.4-r1.apk | tar -xz -C / && \
9
+ /sbin/apk.static add --no-cache ffmpeg curl wget && \
10
+ rm /sbin/apk.static
11
+
12
  LABEL maintainer="PawPaw <pawpaw.storeid@gmail.com>"
13
 
14
  ENV N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true \