Skip to content
Snippets Groups Projects
Verified Commit ce77ad60 authored by David Hoese's avatar David Hoese
Browse files

Reduce the size of the docker image by removing build caches

parent aa11e6eb
No related branches found
No related tags found
No related merge requests found
Pipeline #14726 failed
......@@ -24,6 +24,7 @@ RUN mkdir -p /build_deps && cd /build_deps \
&& cmake .. -DWITH_PROTOBUFC=OFF -DWITH_POSTGIS=OFF \
&& make -j$(nproc) \
&& make install
&& cd && rm -rf /build_deps
# apache
# http://www.inanzzz.com/index.php/post/rhsb/running-apache-server-as-foreground-on-ubuntu-with-dockerfile
......@@ -87,7 +88,7 @@ RUN ln -s /usr/local/bin/mapserv /usr/lib/cgi-bin/mapserv && \
chown ${APACHE_RUN_USER}:${APACHE_RUN_GROUP} /usr/lib/cgi-bin/* && \
chown -h ${APACHE_RUN_USER}:${APACHE_RUN_GROUP} /usr/lib/cgi-bin/*
RUN pip3 install jinja2
RUN pip3 install jinja2 && rm -r /root/.cache/pip
COPY render.py run.sh abi_l1b_template.map /work/
COPY mapfiles/ /work/mapfiles/
COPY html/ /var/www/html/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment