Yusin commited on
Commit
d98e4f2
·
1 Parent(s): f8d62de

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -36,11 +36,13 @@ RUN make
36
  COPY requirements.txt /openconnect/requirements.txt
37
  RUN python -m pip install -r /openconnect/requirements.txt
38
 
 
 
39
  RUN mkdir -p /var/run/vpnc
40
  RUN chmod -R 777 /var/run/vpnc
41
 
42
  RUN mkdir -p /dev/net
43
- #RUN chmod -R 777 /dev/net
44
 
45
  COPY aberconnect.sh /openconnect
46
  RUN chmod +x aberconnect.sh
 
36
  COPY requirements.txt /openconnect/requirements.txt
37
  RUN python -m pip install -r /openconnect/requirements.txt
38
 
39
+ USER root
40
+
41
  RUN mkdir -p /var/run/vpnc
42
  RUN chmod -R 777 /var/run/vpnc
43
 
44
  RUN mkdir -p /dev/net
45
+ RUN chmod -R 777 /dev/net
46
 
47
  COPY aberconnect.sh /openconnect
48
  RUN chmod +x aberconnect.sh