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

Use ubi8 for the API container #294

Merged
merged 1 commit into from
Sep 21, 2021
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
6 changes: 4 additions & 2 deletions docker/Dockerfile-api
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM centos:8
FROM registry.redhat.io/ubi8/ubi:latest
LABEL maintainer="Red Hat - EXD"

WORKDIR /src
Expand All @@ -10,6 +10,8 @@ RUN dnf -y install \
gcc \
httpd \
krb5-devel \
libffi-devel \
libpq-devel \
mod_auth_gssapi \
mod_ssl \
openssl-devel \
Expand All @@ -21,7 +23,7 @@ RUN dnf -y install \
COPY . .
COPY ./docker/iib-httpd.conf /etc/httpd/conf/httpd.conf

# default python3-pip version for centos8 python3.6 is 9.0.3 and it can't be updated by dnf
# default python3-pip version for rhel8 python3.6 is 9.0.3 and it can't be updated by dnf
# we have to update it by pip to version above 21.0.0
RUN pip3 install --upgrade pip
RUN pip3 install -r requirements.txt --no-deps --require-hashes
Expand Down