aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile21
1 files changed, 7 insertions, 14 deletions
diff --git a/Dockerfile b/Dockerfile
index 49c40aa..fa842b6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,18 +1,16 @@
-FROM camilstaps/clean:itasks-latest
+FROM camilstaps/clean:nightly
-COPY make_abc.sh .
-RUN ./make_abc.sh
-
-RUN touch /home/.iclean_history /home/.iclean_template
+RUN install_clean.sh bundle-complete 2017-10-09
COPY . /usr/src/iclean
WORKDIR /usr/src/iclean
-RUN PACKAGES="libreadline-dev make gcc" \
+
+RUN ./make_abc.sh \
+ && touch /home/.iclean_history /home/.iclean_template\
+ && PACKAGES="libreadline6 libreadline6-dev make gcc" \
&& apt-get update -qq \
&& apt-get install -qq $PACKAGES --no-install-recommends \
- && ln -s /opt/clean/lib/clean-platform/OS-Independent /opt/clean/lib/Platform \
&& make -B \
-# Cleanup
&& rm -rf \
Clean\ System\ Files \
CleanReadLine \
@@ -20,12 +18,7 @@ RUN PACKAGES="libreadline-dev make gcc" \
Dockerfile \
*.h *.c *.o \
*.dcl *.icl \
- make_abc.sh \
- && apt-get remove --purge -qq $PACKAGES \
- && apt-get autoremove --purge -qq \
- && rm -rf /var/lib/apt/lists/*
-
-RUN apt-get update -qq && apt-get install -qq gcc
+ make_abc.sh
ENTRYPOINT "./iclean"
CMD []