Skip to content

Commit

Permalink
Merge pull request #34 from teddybeermaniac/feature/33-update_depende…
Browse files Browse the repository at this point in the history
…ncies

Update dependencies (#33)
  • Loading branch information
teddybeermaniac authored Jan 10, 2025
2 parents fbf6fa9 + edd70dd commit cdcb87c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.21.0 AS base
FROM alpine:3.21.2 AS base

RUN apk add --no-cache \
build-base \
Expand All @@ -17,7 +17,9 @@ FROM base AS su-exec
ARG SU_EXEC_VERSION=0.2

WORKDIR /build
RUN wget -O "/build/su-exec-${SU_EXEC_VERSION}.tar.gz" "https://github.com/ncopa/su-exec/archive/refs/tags/v${SU_EXEC_VERSION}.tar.gz" && \
RUN wget -O "/build/su-exec-${SU_EXEC_VERSION}.tar.gz" "https://github.com/ncopa/su-exec/archive/refs/tags/v${SU_EXEC_VERSION}.tar.gz"
ADD su-exec.sha512sums /build/su-exec.sha512sums
RUN sha512sum -c /build/su-exec.sha512sums && \
tar -xf "/build/su-exec-${SU_EXEC_VERSION}.tar.gz"

WORKDIR "/build/su-exec-${SU_EXEC_VERSION}"
Expand All @@ -34,8 +36,10 @@ 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" && \
wget -O "/223.patch" "https://github.com/krallin/tini/commit/10479a6eef32f8e64fd5bf894dee9c7a6f21ce4c.patch"
ADD tini.sha512sums /tini.sha512sums
RUN sha512sum -c /tini.sha512sums && \
tar -xf "/tini-${TINI_VERSION}.tar.gz" && \
patch -Np1 -d "/tini-${TINI_VERSION}" -i "/223.patch"

WORKDIR /build
Expand Down
1 change: 1 addition & 0 deletions su-exec.sha512sums
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
68155a06c716b362aee1214f22cd325b3e934c05b653d3b084a720458fb04207c0681d218b72adfd5ae8fab0262f7ab90e49eb2e218d1b0d7d7af7911715d4e1 /build/su-exec-0.2.tar.gz
2 changes: 2 additions & 0 deletions tini.sha512sums
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1fa85b56e2c6085ea474f251928e7a40510d92aeef60b3c145b0496969c1b5df86835d143cb91ef5b4bf4da63fa8a56947cc39a4276e4b72faa57276d432b292 /tini-0.19.0.tar.gz
25bc1a7fb4de80f962963b21b6073403eb3d394719cf4d054e6532423a1cee7bb67d4ad3a40e9e7bb6fc8218c7dd7cba5af7d43b77b1d52661cf1bde7d7f37bb /223.patch

0 comments on commit cdcb87c

Please sign in to comment.