File tree Expand file tree Collapse file tree 6 files changed +10
-16
lines changed Expand file tree Collapse file tree 6 files changed +10
-16
lines changed Original file line number Diff line number Diff line change 11# Start with a NodeJS base image that also contains yarn.
2- FROM node:22.8.0-alpine as nodejsbuilder
2+ FROM node:22.8.0-alpine@sha256:bec0ea49c2333c429b62e74e91f8ba1201b060110745c3a12ff957cd51b363c6 as nodejsbuilder
33
44# Pass a tag, branch or a commit using build-arg. This allows a docker image to
55# be built from a specified Git state. The default image will use the Git tip of
@@ -32,10 +32,7 @@ RUN apk add --no-cache --update alpine-sdk \
3232
3333# The first stage is already done and all static assets should now be generated
3434# in the app/build sub directory.
35- # If you change this value, please also update:
36- # /dev.Dockerfile
37- # /.github/workflows/main.yml
38- FROM golang:1.22.6-alpine as golangbuilder
35+ FROM golang:1.22.6-alpine@sha256:1a478681b671001b7f029f94b5016aed984a23ad99c707f6a0ab6563860ae2f3 as golangbuilder
3936
4037# Instead of checking out from git again, we just copy the whole working
4138# directory of the previous stage that includes the generated static assets.
@@ -53,7 +50,7 @@ RUN apk add --no-cache --update alpine-sdk \
5350 && make go-install-cli
5451
5552# Start a new, final image to reduce size.
56- FROM alpine as final
53+ FROM alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d as final
5754
5855# Define a root volume for data persistence.
5956VOLUME /root/.lnd
Original file line number Diff line number Diff line change 11# Start with a NodeJS base image that also contains yarn.
2- FROM node:22.8.0-alpine as nodejsbuilder
2+ FROM node:22.8.0-alpine@sha256:bec0ea49c2333c429b62e74e91f8ba1201b060110745c3a12ff957cd51b363c6 as nodejsbuilder
33
44# Copy in the local repository to build from.
55COPY . /go/src/github.com/lightninglabs/lightning-terminal
@@ -10,10 +10,7 @@ RUN cd /go/src/github.com/lightninglabs/lightning-terminal/app \
1010
1111# The first stage is already done and all static assets should now be generated
1212# in the app/build sub directory.
13- # If you change this value, please also update:
14- # /Dockerfile
15- # /.github/workflows/main.yml
16- FROM golang:1.22.6-alpine as golangbuilder
13+ FROM golang:1.22.6-alpine@sha256:1a478681b671001b7f029f94b5016aed984a23ad99c707f6a0ab6563860ae2f3 as golangbuilder
1714
1815# Instead of checking out from git again, we just copy the whole working
1916# directory of the previous stage that includes the generated static assets.
@@ -31,7 +28,7 @@ RUN apk add --no-cache --update alpine-sdk \
3128 && make go-install-cli
3229
3330# Start a new, final image to reduce size.
34- FROM alpine as final
31+ FROM alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d as final
3532
3633# Define a root volume for data persistence.
3734VOLUME /root/.lnd
Original file line number Diff line number Diff line change 1- FROM golang:1.22.6-bookworm
1+ FROM golang:1.22.6-bookworm@sha256:d31e093e3aeaee68ccee6c4c96e554ef0f192ea37ae684d91b206bec17377f19
22
33RUN apt-get update && apt-get install -y \
44 git \
Original file line number Diff line number Diff line change 1- FROM golang:1.22.6-bookworm
1+ FROM golang:1.22.6-bookworm@sha256:d31e093e3aeaee68ccee6c4c96e554ef0f192ea37ae684d91b206bec17377f19
22
33MAINTAINER Olaoluwa Osuntokun <
[email protected] >
44
Original file line number Diff line number Diff line change 11# Start with a NodeJS base image that also contains yarn.
2- FROM node:22.8.0-bookworm as nodejsbuilder
2+ FROM node:22.8.0-bookworm@sha256:bd00c03095f7586432805dbf7989be10361d27987f93de904b1fc003949a4794 as nodejsbuilder
33
44RUN apt-get update && apt-get install -y \
55 git \
Original file line number Diff line number Diff line change 1- FROM golang:1.22.6-bookworm
1+ FROM golang:1.22.6-bookworm@sha256:d31e093e3aeaee68ccee6c4c96e554ef0f192ea37ae684d91b206bec17377f19
22
33RUN apt-get update && apt-get install -y git
44ENV GOCACHE=/tmp/build/.cache
You can’t perform that action at this time.
0 commit comments