aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorCamil Staps2016-11-01 21:38:35 +0100
committerCamil Staps2016-11-01 21:38:35 +0100
commit14908898ef58c33abb953a1b6485e17052194ec0 (patch)
tree7e1dc28b92069a676224b97a26d6d937f5895710 /Dockerfile
parentgcc is always needed (diff)
Fix docker image
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index f3ef584..473900e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,5 @@
FROM camilstaps/clean:itasks-latest
-RUN apt-get update -qq && apt-get install -qq gcc
-
COPY make_abc.sh .
RUN ./make_abc.sh
@@ -9,7 +7,7 @@ RUN touch /home/.iclean_history /home/.iclean_template
COPY . /usr/src/iclean
WORKDIR /usr/src/iclean
-RUN PACKAGES="libreadline-dev make" \
+RUN PACKAGES="libreadline-dev make gcc" \
&& apt-get update -qq \
&& apt-get install -qq $PACKAGES \
&& make -B \
@@ -26,5 +24,7 @@ RUN PACKAGES="libreadline-dev make" \
&& apt-get remove --purge -qq $PACKAGES $ADDED_PACKAGES \
&& rm -rf /var/lib/apt/lists/*
+RUN apt-get update -qq && apt-get install -qq gcc
+
ENTRYPOINT "./iclean"
CMD []