Skip to content

Commit ed22ee2

Browse files
pin images to hash
1 parent bb9ff09 commit ed22ee2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

images/litecoind/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1.3-labs
2-
FROM debian:12 as build
2+
FROM debian:12@sha256:b6507e340c43553136f5078284c8c68d86ec8262b1724dde73c325e8d3dcdeba as build
33

44
ARG VERSION=v0.21.4
55

@@ -24,7 +24,7 @@ WORKDIR /opt/litecoin
2424

2525
# Define PTHREAD_STACK_MIN to avoid build failure with Boost 1.70.0 libraries
2626
# https://github.com/boostorg/thread/pull/297/commits/74fb0a26099bc51d717f5f154b37231ce7df3e98
27-
# CXXFLAGS and CPPFLAGS can be removed if upstream ever updates Boost to 1.73.0 <=
27+
# CXXFLAGS and CPPFLAGS can be removed if upstream ever updates Boost to 1.73.0 or newer
2828
RUN <<-EOF
2929
make -C /opt/litecoin/depends/ -j $(getconf _NPROCESSORS_ONLN) NO_QT=1 NO_QR=1 NO_WALLET=1 NO_BDB=1 \
3030
boost_cxxflags="-std=c++11 -fvisibility=hidden -DPTHREAD_STACK_MIN=16384" \
@@ -50,7 +50,7 @@ RUN <<-EOF
5050
chown -R 65532:65532 /opt/litecoin/
5151
EOF
5252

53-
FROM gcr.io/distroless/cc-debian12:nonroot as final
53+
FROM gcr.io/distroless/cc-debian12:nonroot@sha256:d1b8e4c52be1111aa108e959ef2a822299bb70fd1819dd250871a2601ca1e4b6 as final
5454

5555
ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/London"
5656

0 commit comments

Comments
 (0)