Updated to latest xe-solutions
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
parent
f57b15c555
commit
b34b1d18fd
@ -1,6 +1,6 @@
|
|||||||
*
|
*
|
||||||
!assets
|
!assets
|
||||||
!Dockerfile
|
!Dockerfile*
|
||||||
!Dockerfile-*
|
|
||||||
!SOLUTION
|
!SOLUTION
|
||||||
!MANIFEST
|
!MANIFEST
|
||||||
|
Dockerfile.solution*
|
||||||
|
@ -132,7 +132,7 @@ RUN echo "deb [trusted=yes arch=amd64] https://osgc.jf.intel.com/internal/ubuntu
|
|||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Template from templates/ubuntu/25-graphics-user.in
|
# Template from templates/ubuntu/25-create-user.in
|
||||||
#
|
#
|
||||||
# Create user 'user' and add them to 'sudo' for sudo access and set
|
# Create user 'user' and add them to 'sudo' for sudo access and set
|
||||||
# the passwd to 'user'
|
# the passwd to 'user'
|
||||||
@ -150,7 +150,7 @@ RUN groupadd -r user \
|
|||||||
-s /bin/bash \
|
-s /bin/bash \
|
||||||
-r -m \
|
-r -m \
|
||||||
-g user \
|
-g user \
|
||||||
-G sudo \
|
-G sudo,video \
|
||||||
-p $(echo "user" | openssl passwd -stdin) user
|
-p $(echo "user" | openssl passwd -stdin) user
|
||||||
|
|
||||||
# Set 'sudo' to NOPASSWD for all container users
|
# Set 'sudo' to NOPASSWD for all container users
|
||||||
|
@ -48,11 +48,9 @@ RUN { \
|
|||||||
echo "no_proxy=${no_proxy}" ; \
|
echo "no_proxy=${no_proxy}" ; \
|
||||||
} | tee -a /etc/dnf/dnf.conf /etc/yum.conf
|
} | tee -a /etc/dnf/dnf.conf /etc/yum.conf
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Template from templates/rhel/10-rhel-partner.in
|
# Template from templates/rhel/10-rhel-partner.in
|
||||||
#
|
#
|
||||||
|
|
||||||
# Remove any pre-configured repositories
|
# Remove any pre-configured repositories
|
||||||
RUN rm -rf /etc/yum.repos.d/*
|
RUN rm -rf /etc/yum.repos.d/*
|
||||||
|
|
||||||
@ -214,6 +212,16 @@ RUN { \
|
|||||||
echo "" ; \
|
echo "" ; \
|
||||||
} > /etc/yum.repos.d/RHEL-8-rt-intel-partner.repo
|
} > /etc/yum.repos.d/RHEL-8-rt-intel-partner.repo
|
||||||
|
|
||||||
|
#
|
||||||
|
# Template from templates/rhel/15-upgrade.in
|
||||||
|
#
|
||||||
|
# Update package lists, and upgrade to the latest packages
|
||||||
|
#
|
||||||
|
# Failure to do this will result in GPG errors later
|
||||||
|
RUN dnf clean all \
|
||||||
|
&& dnf -y upgrade
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Template from templates/rhel/20-repositories-intel-com.in
|
# Template from templates/rhel/20-repositories-intel-com.in
|
||||||
#
|
#
|
||||||
@ -236,14 +244,14 @@ RUN { \
|
|||||||
RUN { \
|
RUN { \
|
||||||
echo "[intel-graphics]" ; \
|
echo "[intel-graphics]" ; \
|
||||||
echo "name=Intel Graphics Drivers Repository" ; \
|
echo "name=Intel Graphics Drivers Repository" ; \
|
||||||
echo "baseurl=https://repositories.intel.com/graphics/rhel/8.0/" ; \
|
echo "baseurl=https://osgc.jf.intel.com/internal/rhel/8.0/" ; \
|
||||||
echo "sslverify=0" ; \
|
echo "sslverify=0" ; \
|
||||||
echo "enabled=1" ; \
|
echo "enabled=1" ; \
|
||||||
echo "gpgcheck=0" ; \
|
echo "gpgcheck=0" ; \
|
||||||
} > /etc/yum.repos.d/intel-graphics.repo
|
} > /etc/yum.repos.d/intel-graphics.repo
|
||||||
|
|
||||||
#
|
#
|
||||||
# Template from templates/rhel/25-graphics-user.in
|
# Template from templates/rhel/25-create-user.in
|
||||||
#
|
#
|
||||||
# Create user 'user' and add them to 'sudo' for sudo access and set
|
# Create user 'user' and add them to 'sudo' for sudo access and set
|
||||||
# the passwd to 'user'
|
# the passwd to 'user'
|
||||||
@ -258,11 +266,11 @@ RUN groupadd -r user \
|
|||||||
-s /bin/bash \
|
-s /bin/bash \
|
||||||
-r -m \
|
-r -m \
|
||||||
-g user \
|
-g user \
|
||||||
-G sudo \
|
-G wheel,video \
|
||||||
-p $(echo "user" | openssl passwd -stdin) user
|
-p $(echo "user" | openssl passwd -stdin) user
|
||||||
|
|
||||||
# Set 'sudo' to NOPASSWD for all container users
|
# Set 'wheel' to NOPASSWD for all container users
|
||||||
RUN sed -i -e 's,%sudo.*,%sudo ALL=(ALL) NOPASSWD:ALL,g' /etc/sudoers
|
RUN sed -i -e 's,%wheel.*,%wheel ALL=(ALL) NOPASSWD:ALL,g' /etc/sudoers
|
||||||
|
|
||||||
USER user
|
USER user
|
||||||
|
|
||||||
@ -351,13 +359,6 @@ ENTRYPOINT [ "/assets/entry" ]
|
|||||||
|
|
||||||
# Ensure that each Docker container self-documents the
|
# Ensure that each Docker container self-documents the
|
||||||
# versions included in it
|
# versions included in it
|
||||||
|
COPY SOLUTION /assets/
|
||||||
RUN { \
|
|
||||||
echo "PACKAGE_REPOSITORY=https://repositories.intel.com/graphics" ; \
|
|
||||||
echo "RELEASE_INFO=N/A" ; \
|
|
||||||
echo "PACKAGE_STREAM=8.0" ; \
|
|
||||||
echo "OS_DISTRO=rhel" ; \
|
|
||||||
echo "OS_RELEASE=8.0" ; \
|
|
||||||
} | sudo tee /assets/SOLUTION
|
|
||||||
COPY MANIFEST /assets/
|
COPY MANIFEST /assets/
|
||||||
COPY Dockerfile.rhel-8.0 /assets/Dockerfile
|
COPY Dockerfile.rhel-8.0 /assets/Dockerfile
|
||||||
|
@ -11,7 +11,7 @@ RUN groupadd -r user \
|
|||||||
-s /bin/bash \
|
-s /bin/bash \
|
||||||
-r -m \
|
-r -m \
|
||||||
-g user \
|
-g user \
|
||||||
-G wheel \
|
-G wheel,video \
|
||||||
-p $(echo "user" | openssl passwd -stdin) user
|
-p $(echo "user" | openssl passwd -stdin) user
|
||||||
|
|
||||||
# Set 'wheel' to NOPASSWD for all container users
|
# Set 'wheel' to NOPASSWD for all container users
|
||||||
|
@ -11,7 +11,7 @@ RUN groupadd -r user \
|
|||||||
-s /bin/bash \
|
-s /bin/bash \
|
||||||
-r -m \
|
-r -m \
|
||||||
-g user \
|
-g user \
|
||||||
-G wheel \
|
-G wheel,video \
|
||||||
-p $(echo "user" | openssl passwd -stdin) user
|
-p $(echo "user" | openssl passwd -stdin) user
|
||||||
|
|
||||||
# Set 'wheel' to NOPASSWD for all container users
|
# Set 'wheel' to NOPASSWD for all container users
|
||||||
|
@ -14,7 +14,7 @@ RUN groupadd -r user \
|
|||||||
-s /bin/bash \
|
-s /bin/bash \
|
||||||
-r -m \
|
-r -m \
|
||||||
-g user \
|
-g user \
|
||||||
-G sudo \
|
-G sudo,video \
|
||||||
-p $(echo "user" | openssl passwd -stdin) user
|
-p $(echo "user" | openssl passwd -stdin) user
|
||||||
|
|
||||||
# Set 'sudo' to NOPASSWD for all container users
|
# Set 'sudo' to NOPASSWD for all container users
|
Loading…
x
Reference in New Issue
Block a user