Skip to content

Commit

Permalink
Pin Alpine in Docker. Latest that provided libpthread-stubs.
Browse files Browse the repository at this point in the history
  • Loading branch information
hwalinga committed Oct 24, 2024
1 parent e8bed26 commit 3d9cd57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# BUILD
FROM alpine:latest
FROM alpine:3.18
RUN set -ex && \
apk --no-cache --update add \
cmake g++ gcc git linux-headers libpthread-stubs make
Expand All @@ -12,7 +12,7 @@ RUN mkdir build && \
RUN build/runtests

# RUN
FROM alpine:latest
FROM alpine:3.18
RUN set -ex && \
apk --no-cache --update add \
libstdc++
Expand All @@ -21,4 +21,4 @@ USER flexfringe
WORKDIR /home/flexfringe
COPY --from=0 /flexfringe/build/flexfringe .
COPY ini ./ini
ENTRYPOINT ["./flexfringe"]
ENTRYPOINT ["./flexfringe"]

0 comments on commit 3d9cd57

Please sign in to comment.