File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ RUN apt-get update && \
12
12
rm -rf /var/lib/apt/lists/* && \
13
13
rm "${HARBOUR_PKG}"
14
14
15
- COPY . /opt/
15
+ COPY . .
16
16
17
- RUN hbmk2 -gtstd -optim -cflag=-O3 ./sieve.prg
18
- RUN hbmk2 -gtstd -optim -cflag=-O3 ./sievedb.prg
19
- RUN hbmk2 -gtstd -optim -cflag=-O3 ./sieve_xharbour.prg
17
+ RUN hbmk2 -gtstd -optim -cflag=-O3 ./sieve.prg \
18
+ && hbmk2 -gtstd -optim -cflag=-O3 ./sievedb.prg \
19
+ && hbmk2 -gtstd -optim -cflag=-O3 ./sieve_xharbour.prg
20
20
21
21
CMD [ "bash" , "./run.sh" ]
Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ ENV CRYSTAL_VER="1.1"
4
4
5
5
WORKDIR /opt
6
6
7
- RUN apt-get update && apt-get upgrade -y && apt-get install -y curl && \
7
+ SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
8
+ RUN apt-get update && apt-get install -y curl && \
9
+ apt-get clean && \
10
+ rm -rf /var/lib/apt/lists/* && \
8
11
curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --version="${CRYSTAL_VER}"
9
12
# compiler build has been finished here, image ready for use...
10
13
You can’t perform that action at this time.
0 commit comments