Changing Dockerfiles - removed workdir

This commit is contained in:
madzik 2024-11-18 08:24:11 +00:00
parent 7765d602f8
commit bbb698d104
3 changed files with 5 additions and 8 deletions

View File

@ -8,6 +8,5 @@ RUN zypper update -y && zypper install -y gcc \
rpm-build \
openssh-server \
gcc-c++
WORKDIR /home/Rublon-Linux/

View File

@ -9,7 +9,6 @@ RUN yum update -y && yum install -y gcc \
openssh-server \
gcc-c++ \
wget
WORKDIR /home/Rublon-Linux/
RUN wget https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/pam-1.3.1-34.0.1.el8_10.x86_64.rpm \
https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64/getPackage/pam-devel-1.3.1-34.0.1.el8_10.x86_64.rpm
RUN rpm -Uvh pam*

View File

@ -3,14 +3,13 @@ FROM redhat/ubi9
RUN yum update -y && yum install -y gcc \
openssl-devel \
libcurl-devel \
systemd-pam \
cmake \
rpm-build \
openssh-server \
gcc-c++ \
wget
WORKDIR /home/Rublon-Linux/
RUN wget https://yum.oracle.com/repo/OracleLinux/OL9/appstream/x86_64/getPackage/pam-devel-1.5.1-19.0.2.el9.x86_64.rpm \
https://yum.oracle.com/repo/OracleLinux/OL9/baseos/latest/x86_64/getPackage/pam-1.5.1-19.0.2.el9.x86_64.rpm
RUN rpm -Uvh pam*
wget
RUN wget https://yum.oracle.com/repo/OracleLinux/OL9/appstream/x86_64/getPackage/pam-devel-1.5.1-19.0.2.el9.x86_64.rpm \
https://yum.oracle.com/repo/OracleLinux/OL9/baseos/latest/x86_64/getPackage/pam-1.5.1-19.0.2.el9.x86_64.rpm
RUN rpm -Uvh --oldpackage pam*