Skip to content

Commit 6284dc9

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Docker] Ubuntu base image regressed to 22.04
1 parent c8cf0c2 commit 6284dc9

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ RUN apt-get -y update && \
99

1010
FROM init AS builder
1111

12-
# build tools
12+
ARG DEBIAN_FRONTEND=noninteractive
13+
ENV TZ=Etc/UTC
1314

15+
# build tools
1416
RUN apt-get update && \
1517
apt-get -y install --no-install-recommends --no-install-suggests gnupg software-properties-common && \
1618
rm -rf /var/lib/apt/lists/*
@@ -19,8 +21,7 @@ RUN apt-key add llvm-snapshot.gpg.key && \
1921
apt-add-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main" && \
2022
apt-get -y update && \
2123
apt-get -y install --no-install-recommends --no-install-suggests clang-format && \
22-
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata && \
23-
apt-get -y install --no-install-recommends --no-install-suggests build-essential cmake g++ make && \
24+
apt-get -y install --no-install-recommends --no-install-suggests build-essential cmake g++ make pkg-config && \
2425
rm -rf /var/lib/apt/lists/*
2526

2627
# vcpkg Package Manager
@@ -64,10 +65,10 @@ FROM builder AS development
6465

6566
FROM builder AS lint
6667

67-
RUN apt-get -y update && \
68-
apt-get -y install --no-install-recommends --no-install-suggests dialog apt-utils && \
69-
apt-get -y install --no-install-recommends --no-install-suggests yamllint && \
68+
ADD https://deb.nodesource.com/setup_22.x nodesource_setup.sh
69+
RUN bash nodesource_setup.sh && \
7070
apt-get -y install --no-install-recommends --no-install-suggests nodejs npm && \
71+
apt-get -y install --no-install-recommends --no-install-suggests yamllint && \
7172
apt-get -y install --no-install-recommends --no-install-suggests cppcheck && \
7273
rm -rf /var/lib/apt/lists/* && \
7374
npm install -g --ignore-scripts markdownlint-cli

0 commit comments

Comments
 (0)