Skip to content

Commit

Permalink
appservice: Move to RHEL UBI image
Browse files Browse the repository at this point in the history
This is larger than Debian, but using UBI is a requirement for deploying
to 3scale.
  • Loading branch information
martinpitt committed Sep 15, 2022
1 parent 881f28e commit 7624947
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions appservice/Containerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
FROM debian:bookworm
FROM docker.io/redhat/ubi9-minimal

RUN apt-get update && \
apt-get install -y python3 python3-redis python3-aiohttp curl inetutils-ping procps && \
apt-get clean && \
rm /var/lib/apt/lists/*dists*
# iputils and procps-ng are just for debugging; drop for production
RUN microdnf install -y python3-pip iputils procps-ng && microdnf clean all
RUN pip3 install aiohttp redis

COPY *.py /usr/local/bin/

Expand Down

0 comments on commit 7624947

Please sign in to comment.