Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't install anything else than what Vespa depends on via RPM. #53

Merged
merged 1 commit into from
Aug 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN echo "install_weak_deps=False" >> /etc/dnf/dnf.conf && \
epel-release && \
dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/g/vespa/vespa/repo/epel-9/group_vespa-vespa-epel-9.repo && \
dnf config-manager --enable crb && \
dnf remove -y dnf-plugins-core && \
dnf clean all && \
rm -rf /var/cache/dnf

Expand All @@ -23,6 +24,7 @@ RUN echo "install_weak_deps=False" >> /etc/dnf/dnf.conf && \
epel-release && \
dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/g/vespa/vespa/repo/centos-stream-8/group_vespa-vespa-centos-stream-8.repo && \
dnf config-manager --enable powertools && \
dnf remove -y dnf-plugins-core && \
dnf clean all && \
rm -rf /var/cache/dnf

Expand All @@ -37,12 +39,7 @@ ADD include/start-container.sh /usr/local/bin/start-container.sh
RUN groupadd -g 1000 vespa && \
useradd -u 1000 -g vespa -d /opt/vespa -s /sbin/nologin vespa

RUN dnf -y install \
bind-utils \
git-core \
net-tools \
sudo \
vespa-$VESPA_VERSION && \
RUN dnf -y install vespa-$VESPA_VERSION && \
dnf clean all && \
rm -rf /var/cache/dnf

Expand Down