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 1
1
# 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
3
3
4
4
# Pass a tag, branch or a commit using build-arg. This allows a docker image to
5
5
# 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 \
32
32
33
33
# The first stage is already done and all static assets should now be generated
34
34
# 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
39
36
40
37
# Instead of checking out from git again, we just copy the whole working
41
38
# directory of the previous stage that includes the generated static assets.
@@ -53,7 +50,7 @@ RUN apk add --no-cache --update alpine-sdk \
53
50
&& make go-install-cli
54
51
55
52
# Start a new, final image to reduce size.
56
- FROM alpine as final
53
+ FROM alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d as final
57
54
58
55
# Define a root volume for data persistence.
59
56
VOLUME /root/.lnd
Original file line number Diff line number Diff line change 1
1
# 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
3
3
4
4
# Copy in the local repository to build from.
5
5
COPY . /go/src/github.com/lightninglabs/lightning-terminal
@@ -10,10 +10,7 @@ RUN cd /go/src/github.com/lightninglabs/lightning-terminal/app \
10
10
11
11
# The first stage is already done and all static assets should now be generated
12
12
# 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
17
14
18
15
# Instead of checking out from git again, we just copy the whole working
19
16
# directory of the previous stage that includes the generated static assets.
@@ -31,7 +28,7 @@ RUN apk add --no-cache --update alpine-sdk \
31
28
&& make go-install-cli
32
29
33
30
# Start a new, final image to reduce size.
34
- FROM alpine as final
31
+ FROM alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d as final
35
32
36
33
# Define a root volume for data persistence.
37
34
VOLUME /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
2
2
3
3
RUN apt-get update && apt-get install -y \
4
4
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
2
2
3
3
MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>
4
4
Original file line number Diff line number Diff line change 1
1
# 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
3
3
4
4
RUN apt-get update && apt-get install -y \
5
5
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
2
2
3
3
RUN apt-get update && apt-get install -y git
4
4
ENV GOCACHE=/tmp/build/.cache
You can’t perform that action at this time.
0 commit comments