Skip to content

Commit

Permalink
containerfile no contaienrs storage
Browse files Browse the repository at this point in the history
  • Loading branch information
sallyom committed Apr 5, 2024
1 parent e3e33e1 commit 36ef7f0
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ COPY build/${RECIPE}.kube build/${RECIPE}.yaml /usr/share/containers/systemd

# Setup /usr/lib/containers/storage as an additional store for images.
# Remove once the base images have this set by default.
RUN sed -i -e '/additionalimage.*/a "/usr/lib/containers/storage",' \
/etc/containers/storage.conf
#RUN sed -i -e '/additionalimage.*/a "/usr/lib/containers/storage",' \
# /etc/containers/storage.conf

# Added for running as an OCI Container to prevent Overlay on Overlay issues.
VOLUME /var/lib/containers

# Prepull the model, model_server & application images to populate the system.
# Comment the pull commands to keep bootc image smaller.
# The quadlet .image file added above pulls following images with service startup
RUN podman pull --root /usr/lib/containers/storage ${SERVERIMAGE}
RUN podman pull --root /usr/lib/containers/storage ${APPIMAGE}
RUN podman pull --root /usr/lib/containers/storage ${MODELIMAGE}
RUN podman pull ${SERVERIMAGE}
RUN podman pull ${APPIMAGE}
RUN podman pull ${MODELIMAGE}

RUN podman system reset --force 2>/dev/null
#RUN podman system reset --force 2>/dev/null

0 comments on commit 36ef7f0

Please sign in to comment.