Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Update to openvpn Dockerfile to Alpine 3.19
Browse files Browse the repository at this point in the history
Also update build.sh in frontend to use yarn
  • Loading branch information
jnoordsij committed Dec 7, 2023
1 parent f9a5869 commit 8acf1aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.openvpn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.16
FROM alpine:3.19
RUN apk add --update bash openvpn easy-rsa iptables && \
ln -s /usr/share/easy-rsa/easyrsa /usr/local/bin && \
wget https://github.com/pashcovich/openvpn-user/releases/download/v1.0.4/openvpn-user-linux-amd64.tar.gz -O - | tar xz -C /usr/local/bin && \
Expand Down
5 changes: 2 additions & 3 deletions frontend/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

image="node:16.13.0-alpine3.12"
image="node:20-alpine"
uid="$(id -u $USER)"

docker run -u $uid -w /app -v $(pwd):/app $image npm i && \
docker run -u $uid -w /app -v $(pwd):/app $image npm run build
docker run -u $uid -w /app -v $(pwd):/app $image yarn install && yarn run build

0 comments on commit 8acf1aa

Please sign in to comment.