|
@@ -18,18 +18,10 @@ COPY ./common.sh /common.sh
|
18
|
18
|
|
19
|
19
|
COPY ./run.sh /run.sh
|
20
|
20
|
|
21
|
|
-#RUN echo 'bob Cleartext-Password := "hello"' >> /etc/freeradius/users
|
22
|
|
-
|
23
|
|
-#RUN echo "client 0.0.0.0 {\nnetmask 0\nsecret testing123\n}" >> /etc/freeradius/clients.conf
|
24
|
|
-
|
25
|
21
|
RUN mkdir "${CONFIG_DIR}"
|
26
|
22
|
|
27
|
|
-COPY config/users "${CONFIG_DIR}"/users
|
28
|
|
-
|
29
|
|
-COPY config/clients.conf "${CONFIG_DIR}"/clients.conf
|
30
|
|
-
|
31
|
|
-#COPY dhcpd.conf "${CONFIG_DIR}"/dhcpd.conf
|
|
23
|
+COPY config "${CONFIG_DIR}"
|
32
|
24
|
|
33
|
|
-EXPOSE 80
|
|
25
|
+EXPOSE 1812
|
34
|
26
|
|
35
|
27
|
CMD ["/run.sh"]
|