File tree Expand file tree Collapse file tree 3 files changed +24
-20
lines changed Expand file tree Collapse file tree 3 files changed +24
-20
lines changed Original file line number Diff line number Diff line change 1111FROM registry.hub.docker.com/library/ubuntu@sha256:f2034e7195f61334e6caff6ecf2e965f92d11e888309065da85ff50c617732b8
1212
1313# Set environment variables
14- ENV OS ubuntu
15- ENV OS_VER 20.04
16- ENV NOTTY 1
17- ENV DEBIAN_FRONTEND noninteractive
14+ ENV OS= ubuntu
15+ ENV OS_VER= 20.04
16+ ENV NOTTY= 1
17+ ENV DEBIAN_FRONTEND= noninteractive
1818
1919# Base development packages
2020ARG BASE_DEPS="\
@@ -65,7 +65,7 @@ RUN mkdir -p --mode 777 /opt/umf/
6565COPY third_party/requirements.txt /opt/umf/requirements.txt
6666
6767# Add a new (non-root) 'test_user'
68- ENV USER test_user
69- ENV USERPASS pass
68+ ENV USER= test_user
69+ ENV USERPASS= pass
7070RUN useradd -m -u 1001 "${USER}" -g sudo -p "$(mkpasswd ${USERPASS})"
7171USER test_user
Original file line number Diff line number Diff line change 1111FROM registry.hub.docker.com/library/ubuntu@sha256:e6173d4dc55e76b87c4af8db8821b1feae4146dd47341e4d431118c7dd060a74
1212
1313# Set environment variables
14- ENV OS ubuntu
15- ENV OS_VER 22.04
16- ENV NOTTY 1
17- ENV DEBIAN_FRONTEND noninteractive
14+ ENV OS= ubuntu
15+ ENV OS_VER= 22.04
16+ ENV NOTTY= 1
17+ ENV DEBIAN_FRONTEND= noninteractive
1818
1919# Base development packages
20- # It seems that libtool is not directly needed
21- # but it is still required when Building UMF
20+ # 'libtool' is required when hwloc is statically linked and built from source
2221ARG BASE_DEPS="\
2322 build-essential \
2423 cmake \
@@ -37,10 +36,13 @@ ARG TEST_DEPS="\
3736 valgrind"
3837
3938# Miscellaneous for our builds/CI (optional)
39+ # 'pkg-config' is added only on one Ubuntu image to test both:
40+ # find_library and pkg-config methods of finding libraries.
4041ARG MISC_DEPS="\
4142 automake \
4243 clang \
4344 lcov \
45+ pkg-config \
4446 python3-pip \
4547 sudo \
4648 whois"
@@ -63,7 +65,7 @@ COPY third_party/requirements.txt /opt/umf/requirements.txt
6365RUN pip3 install --no-cache-dir -r /opt/umf/requirements.txt
6466
6567# Add a new (non-root) 'test_user'
66- ENV USER test_user
67- ENV USERPASS pass
68+ ENV USER= test_user
69+ ENV USERPASS= pass
6870RUN useradd -m -u 1001 "${USER}" -g sudo -p "$(mkpasswd ${USERPASS})"
6971USER test_user
Original file line number Diff line number Diff line change 1111FROM registry.hub.docker.com/library/ubuntu@sha256:72297848456d5d37d1262630108ab308d3e9ec7ed1c3286a32fe09856619a782
1212
1313# Set environment variables
14- ENV OS ubuntu
15- ENV OS_VER 24.04
16- ENV NOTTY 1
17- ENV DEBIAN_FRONTEND noninteractive
14+ ENV OS= ubuntu
15+ ENV OS_VER= 24.04
16+ ENV NOTTY= 1
17+ ENV DEBIAN_FRONTEND= noninteractive
1818
1919# Base development packages
20+ # 'libtool' is required when hwloc is statically linked and built from source
2021ARG BASE_DEPS="\
2122 build-essential \
2223 cmake \
2324 git \
25+ libtool \
2426 wget"
2527
2628# UMF's dependencies
@@ -60,7 +62,7 @@ COPY third_party/requirements.txt /opt/umf/requirements.txt
6062RUN pip3 install --no-cache-dir --break-system-packages -r /opt/umf/requirements.txt
6163
6264# Add a new (non-root) 'test_user'
63- ENV USER test_user
64- ENV USERPASS pass
65+ ENV USER= test_user
66+ ENV USERPASS= pass
6567RUN useradd -m "${USER}" -g sudo -p "$(mkpasswd ${USERPASS})"
6668USER test_user
You can’t perform that action at this time.
0 commit comments