Skip to content

Commit

Permalink
Update dependencies (#25)
Browse files Browse the repository at this point in the history
* Used alpine:3.20.2 for base.
* Added a patch for tini - krallin/tini#223.
  • Loading branch information
teddybeermaniac committed Jul 28, 2024
1 parent 3b094d1 commit e78377d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.19.0 AS base
FROM alpine:3.20.2 AS base

RUN apk add --no-cache \
build-base \
Expand Down Expand Up @@ -35,6 +35,8 @@ ARG TINI_VERSION=0.19.0
WORKDIR /
RUN wget -O "/tini-${TINI_VERSION}.tar.gz" "https://github.com/krallin/tini/archive/refs/tags/v${TINI_VERSION}.tar.gz" && \
tar -xf "/tini-${TINI_VERSION}.tar.gz"
RUN wget -O "/223.patch" "https://github.com/krallin/tini/commit/10479a6eef32f8e64fd5bf894dee9c7a6f21ce4c.patch" && \
patch -Np1 -d "/tini-${TINI_VERSION}" -i "/223.patch"

WORKDIR /build
RUN cmake -DCMAKE_INSTALL_PREFIX=/ "/tini-${TINI_VERSION}" && \
Expand Down

0 comments on commit e78377d

Please sign in to comment.