2021-05-12 07:30:49 +02:00
|
|
|
FROM alpine as build
|
2019-07-09 11:19:41 +02:00
|
|
|
|
|
|
|
COPY bf.cpp .
|
2021-05-12 07:30:49 +02:00
|
|
|
RUN apk add --no-cache g++ && \
|
|
|
|
g++ bf.cpp -o bf
|
2019-07-09 11:19:41 +02:00
|
|
|
|
|
|
|
FROM alpine
|
|
|
|
LABEL author="1Computer1"
|
|
|
|
|
2021-05-12 07:30:49 +02:00
|
|
|
RUN apk add --no-cache libstdc++
|
2019-07-09 11:19:41 +02:00
|
|
|
COPY --from=build bf /usr/local/bin/
|
|
|
|
COPY run.sh /var/run/
|