Browse Source

Dockerfile: move python3 to build step

pull/1228/head
Philip H. 2 years ago
committed by tetuaoro
parent
commit
7f3a635c7f
  1. 5
      Dockerfile

5
Dockerfile

@ -2,6 +2,10 @@
# nodejs 20 hangs on build with armv6/armv7
FROM docker.io/library/node:18-alpine AS build_node_modules
# Install Linux packages
RUN apk add --no-cache \
python3
# Update npm to latest
RUN npm install -g npm@latest
@ -32,7 +36,6 @@ RUN apk add --no-cache \
dumb-init \
iptables \
iptables-legacy \
python3 \
wireguard-tools
# Use iptables-legacy

Loading…
Cancel
Save