mirror of
https://github.com/wiiu-env/clang-format-checker-docker.git
synced 2024-11-16 16:29:15 +01:00
Use alpine base image and adjust package installs
This commit is contained in:
parent
3357bd8888
commit
d7e59347c1
@ -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"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user