]> git.localhorst.tv Git - blank.git/blobdiff - scripts/docker/ubuntu-build-latest/Dockerfile
docker image cleanup
[blank.git] / scripts / docker / ubuntu-build-latest / Dockerfile
index 15a23de147274ef61f60a70819743334d041b362..e319fc4916d979e550fba1fbc7f387787809d49e 100644 (file)
@@ -1,7 +1,9 @@
-FROM ubuntu:latest
+FROM localhorsttv/ubuntu-run:latest
+
+RUN apt -y install build-essential \
+       && apt-get -y clean \
+       ;
 
-RUN apt update \
-       && apt -y install build-essential
 RUN apt -y install --no-install-recommends \
        cppcheck \
        libalut-dev \
@@ -14,6 +16,7 @@ RUN apt -y install --no-install-recommends \
        libsdl2-net-dev \
        libsdl2-ttf-dev \
        zlib1g-dev \
+       && apt-get -y clean \
        ;
 
-ENV LDXXFLAGS=-L/usr/lib/x86_64-linux-gnu LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
+ENV LDXXFLAGS -L/usr/lib/x86_64-linux-gnu