We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9a8e00 commit 67e6eb2Copy full SHA for 67e6eb2
Dockerfile
@@ -1,17 +1,17 @@
1
-FROM debian:buster-slim AS build-dev
+FROM alpine:3.19 AS build-dev
2
3
WORKDIR /app/src
4
COPY --link . .
5
6
-RUN apt-get update && \
7
- apt-get install -y gcc g++ cmake
+RUN apk add --no-cache gcc musl-dev g++ cmake make linux-headers
8
9
ENV CC=/usr/bin/gcc \
10
CXX=/usr/bin/g++
11
12
-RUN cmake -S . -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build --target example-file
+RUN cmake -S . -B build -DCMAKE_BUILD_TYPE=Release && \
+ cmake --build build --target example-file
13
14
-FROM bitnami/minideb:bookworm
+FROM alpine:3.19
15
16
RUN mkdir -p /app/public
17
COPY --from=build-dev /app/src/build/example/file/example-file /app/file
0 commit comments