Skip to content
Snippets Groups Projects
Commit 0383ca67 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

docker: separate FS layer for deb-pkgs

parent 10ef1147
No related branches found
No related tags found
2 merge requests!330Knsupdate pubkey processing fix,!328Dockerfiles for Knot DNS & tests
......@@ -17,13 +17,15 @@ libssl-dev \
liburcu-dev \
pkg-config \
liblmdb-dev; \
# Fetch sources
mkdir /src; \
# Trim down the image
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*
# Fetch and compile sources
RUN mkdir /src; \
git clone https://gitlab.labs.nic.cz/labs/knot.git /src/knot; \
# Compile sources in the right order
cd /src/knot && autoreconf -if && ./configure && make -j${THREADS} && make install && ldconfig; \
# Trim down the image
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /src
rm -rf /src
# Select entrypoint
WORKDIR /root
......
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