Skip to content

Commit cd9073c

Browse files
ekoopsirozzo-1A
authored andcommitted
chore(images/builder): remove useless source directive
The source directory works only for the current shell, and `gcc-9` is never used in that RUN step after activation, so remove the directive. Signed-off-by: Leonardo Di Giovanna <[email protected]> Co-Authored-By: irozzo-1A <[email protected]>
1 parent 01e6711 commit cd9073c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

images/builder/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ RUN yum install -y \
3737
systemd \
3838
tar \
3939
wget \
40-
sed && \
41-
yum -y install devtoolset-9-gcc devtoolset-9-gcc-c++ && \
42-
source /opt/rh/devtoolset-9/enable
40+
sed \
41+
devtoolset-9-gcc \
42+
devtoolset-9-gcc-c++
4343

4444
ARG CMAKE_VERSION=3.24.4
4545
RUN curl -L -o /tmp/cmake.tar.gz https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-$(uname -m).tar.gz && \

0 commit comments

Comments
 (0)