Skip to content

Commit 8e1305a

Browse files
committed
Use a stable tag for ubuntu in dockerfile (#3231)
## Issue Addressed N/A ## Proposed Changes Use stable version of ubuntu base image in dockerfile instead of using latest. This will help in narrowing down issues with docker images.
1 parent cc4b778 commit 8e1305a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG FEATURES
55
ENV FEATURES $FEATURES
66
RUN cd lighthouse && make
77

8-
FROM ubuntu:latest
8+
FROM ubuntu:22.04
99
RUN apt-get update && apt-get -y upgrade && apt-get install -y --no-install-recommends \
1010
libssl-dev \
1111
ca-certificates \

Dockerfile.cross

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This image is meant to enable cross-architecture builds.
22
# It assumes the lighthouse binary has already been
33
# compiled for `$TARGETPLATFORM` and moved to `./bin`.
4-
FROM --platform=$TARGETPLATFORM ubuntu:latest
4+
FROM --platform=$TARGETPLATFORM ubuntu:22.04
55
RUN apt-get update && apt-get install -y --no-install-recommends \
66
libssl-dev \
77
ca-certificates \

lcli/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ARG PORTABLE
88
ENV PORTABLE $PORTABLE
99
RUN cd lighthouse && make install-lcli
1010

11-
FROM ubuntu:latest
11+
FROM ubuntu:22.04
1212
RUN apt-get update && apt-get -y upgrade && apt-get clean && rm -rf /var/lib/apt/lists/*
1313
COPY --from=builder /usr/local/cargo/bin/lcli /usr/local/bin/lcli

0 commit comments

Comments
 (0)