Update images and reduce their size (#13)
* Allow container to be run with custom command * Reduce language image sizes * Update OpenJDK to latest version * Use swc for TypeScript and don't print by default * Update Haskell image and use stable Debian slim * Fix formatting and revert TS changes
This commit is contained in:
parent
e54e191f1b
commit
1205933acd
11 changed files with 21 additions and 20 deletions
|
@ -1,12 +1,12 @@
|
|||
FROM alpine AS build
|
||||
|
||||
RUN apk update && apk add g++
|
||||
COPY bf.cpp .
|
||||
RUN g++ bf.cpp -o bf
|
||||
RUN apk add --no-cache g++ && \
|
||||
g++ bf.cpp -o bf
|
||||
|
||||
FROM alpine
|
||||
LABEL author="1Computer1"
|
||||
|
||||
RUN apk update && apk add libstdc++
|
||||
RUN apk add --no-cache libstdc++
|
||||
COPY --from=build bf /usr/local/bin/
|
||||
COPY run.sh /var/run/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue