Skip to content

Commit

Permalink
Dockerfile
Browse files Browse the repository at this point in the history
Fixed failed touch command during ovpn_initpki due to undefined env variable EASYRSA_VARS_FILE
  • Loading branch information
Salvoxia committed Jan 27, 2024
1 parent 8927ba8 commit 8de9107
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/reposi
ENV OPENVPN=/etc/openvpn
ENV EASYRSA=/usr/share/easy-rsa \
EASYRSA_CRL_DAYS=3650 \
EASYRSA_PKI=$OPENVPN/pki
EASYRSA_PKI=$OPENVPN/pki \
EASYRSA_VARS_FILE=$OPENVPN/vars

VOLUME ["/etc/openvpn"]

Expand Down

1 comment on commit 8de9107

@Salvoxia
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #1

Please sign in to comment.