feat: update build
This commit is contained in:
@@ -20,11 +20,11 @@ RUN cp hosted/config/radiusd.conf $out_dir/radiusd.conf && \
|
||||
rm -f /etc/freeradius/mods-enabled/eap \
|
||||
RUN rm -f /etc/freeradius/mods-enabled/delay && \
|
||||
ln -s $out_dir/mods-available/delay $out_dir/mods-enabled/delay
|
||||
ADD entrypoint.sh /bin/entrypoint.sh
|
||||
RUN chmod a+x /bin/entrypoint.sh && chmod -R 750 $out_dir && chown -R freerad:root $out_dir && \
|
||||
ADD entrypoint.sh /usr/bin/entrypoint.sh
|
||||
RUN chmod a+x /usr/bin/entrypoint.sh && chmod -R 750 $out_dir && chown -R freerad:root $out_dir && \
|
||||
mv /etc/freeradius/certs /tmp && \
|
||||
rm -rf /tmp/hosted
|
||||
|
||||
WORKDIR /etc/freeradius
|
||||
ENTRYPOINT ["entrypoint.sh"]
|
||||
ENTRYPOINT ["/usr/bin/entrypoint.sh"]
|
||||
CMD ["freeradius", "-f"]
|
||||
|
||||
Reference in New Issue
Block a user