Skip to content

Commit

Permalink
Switch to python3-alpine base image to reduce size
Browse files Browse the repository at this point in the history
  • Loading branch information
knewell committed Apr 24, 2020
1 parent c3d1548 commit 23fe491
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3
FROM python:3-alpine

RUN pip install exabgp
RUN mkdir -p /etc/exabgp && exabgp --fi > /usr/local/etc/exabgp/exabgp.env
Expand All @@ -7,7 +7,6 @@ RUN mkfifo /run/exabgp.in && \
chmod 666 /run/exabgp.in && \
chmod 666 /run/exabgp.out

RUN apt update && apt install net-tools nano
COPY exabgp.env /usr/local/etc/exabgp/

ENTRYPOINT ["exabgp"]
Expand Down

0 comments on commit 23fe491

Please sign in to comment.