From 23fe491bcf7216b27d4e6afb8b531f16c80b7c9d Mon Sep 17 00:00:00 2001 From: Karl Newell Date: Fri, 24 Apr 2020 15:06:49 -0400 Subject: [PATCH] Switch to python3-alpine base image to reduce size --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8c46008..0125865 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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"]