Compare commits

...

2 Commits

Author SHA1 Message Date
Simon Bruder 0c4c26158a
Remove tini, as it doesn’t work
continuous-integration/drone/push Build is passing Details
2019-08-06 04:52:50 +00:00
Simon Bruder 3c1865530e
Use slim docker image 2019-08-06 04:43:48 +00:00
1 changed files with 2 additions and 3 deletions

View File

@ -27,14 +27,13 @@ RUN git clone --depth=1 https://github.com/DeadSix27/waifu2x-converter-cpp \
#RUN apt-file update \
# && /freeze.sh waifu2x-converter-cpp
FROM debian:testing
FROM debian:testing-slim
#COPY --from=builder /tmp/frozen_packages /tmp/frozen_packages
COPY frozen_packages /tmp/frozen_packages
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
tini \
beignet-opencl-icd \
ocl-icd-libopencl1 \
&& xargs -a /tmp/frozen_packages apt-get install --no-install-recommends -y \
@ -44,4 +43,4 @@ COPY --from=builder /usr/local /usr/local
RUN ldconfig
ENTRYPOINT ["tini", "--", "waifu2x-converter-cpp"]
ENTRYPOINT ["waifu2x-converter-cpp"]