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 941bd54 commit 403b0dfCopy full SHA for 403b0df
Dockerfile
@@ -1,10 +1,7 @@
1
-FROM ubuntu:22.04 as builder
+FROM alpine:3.18 as builder
2
3
-ENV DEBIAN_FRONTEND=noninteractive
4
-ENV TZ=UTC
5
-
6
-RUN apt-get update \
7
- && apt-get install -yq gcc g++ make cmake libssl-dev
+RUN apk update \
+ && apk add alpine-sdk cmake openssl-dev linux-headers
8
9
WORKDIR /ahp
10
@@ -13,7 +10,9 @@ COPY . .
13
RUN cmake -B build -DCMAKE_BUILD_TYPE=Release \
14
11
&& cmake --build build
15
12
16
-FROM ubuntu:22.04
+FROM alpine:3.18
+
+RUN apk update && apk add libgcc libstdc++ openssl
17
18
COPY --from=builder /ahp/build/ahps /usr/local/bin/ahps
19
COPY --from=builder /ahp/build/ahpc /usr/local/bin/ahpc
0 commit comments