We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36f8351 commit aa64a03Copy full SHA for aa64a03
PrimeWhitespace/solution_1/Dockerfile
@@ -4,17 +4,9 @@ WORKDIR /tmp
4
RUN apt-get update && \
5
apt-get install -y ghc git make python3 && \
6
git clone --depth 1 https://github.com/TryItOnline/WSpace && \
7
- apt-get remove -y git && \
8
- apt-get autoremove -y && \
9
- apt-get clean && \
10
- rm -rf /var/lib/apt/lists/*
11
-
12
-WORKDIR /tmp/WSpace
13
-RUN apt-get update && \
14
- apt-get install -y make && \
15
- make && \
16
- cp wspace /usr/bin/whitespace && \
17
- apt-get remove -y make && \
+ make -C WSpace && \
+ cp WSpace/wspace /usr/bin/whitespace && \
+ apt-get remove -y git make && \
18
apt-get autoremove -y && \
19
apt-get clean && \
20
rm -rf /var/lib/apt/lists/* /tmp/WSpace
0 commit comments