From d7e59347c128567cc1c1311069f289cbca6fa1f8 Mon Sep 17 00:00:00 2001 From: Tuschl Date: Wed, 15 Apr 2020 23:29:53 +0200 Subject: [PATCH] Use alpine base image and adjust package installs --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3f0675f..32db284 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,10 @@ -FROM ubuntu:19.04 +FROM alpine:3 -RUN apt update && apt-get install -y --no-install-recommends \ - clang-format python3 \ - && rm -rf /var/lib/apt/lists/* +RUN apk add --no-cache clang python3 ADD run-clang-format/run-clang-format.py /usr/bin RUN mkdir /src WORKDIR /src -ENTRYPOINT ["run-clang-format.py"] +ENTRYPOINT ["python3", "/usr/bin/run-clang-format.py"]