12 lines
222 B
Docker
12 lines
222 B
Docker
FROM alpine AS build
|
|
|
|
RUN apk update && apk add g++
|
|
COPY bf.cpp .
|
|
RUN g++ bf.cpp -o bf
|
|
|
|
FROM alpine
|
|
LABEL author="1Computer1"
|
|
|
|
RUN apk update && apk add libstdc++
|
|
COPY --from=build bf /usr/local/bin/
|
|
COPY run.sh /var/run/
|