Skip to content

Commit

Permalink
remove apk-tools so ca-certificates can go
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Dec 22, 2023
1 parent 8eb939a commit 211f9af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion captive-portal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN \
&& /usr/local/captive-env/bin/pip install --no-cache-dir -r /src/portal_filter/requirements.txt \
# inotify is used in our watcher
&& /usr/local/captive-env/bin/pip install --no-cache-dir inotify==0.2.10 \
&& apk del curl ca-certificates
&& apk del curl ca-certificates apk-tools

ENV HOTSPOT_NAME "My Hotspot"
ENV HOTSPOT_FQDN "generic.offspot"
Expand All @@ -50,5 +50,8 @@ ENV PYTHONPATH "/src"

COPY lighttpd.conf /etc/lighttpd/
COPY uwsgi.ini /src/uwsgi.ini

EXPOSE 2080
EXPOSE 2443
ENTRYPOINT ["/usr/bin/dumb-init", "--", "/usr/local/bin/entrypoint.sh"]
CMD ["uwsgi", "--ini", "/src/uwsgi.ini"]

0 comments on commit 211f9af

Please sign in to comment.