Skip to content

Commit

Permalink
OBS-144: Use docker images from obs-common (#6811)
Browse files Browse the repository at this point in the history
  • Loading branch information
relud authored Nov 20, 2024
1 parent ad98d8c commit cef5919
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 29 deletions.
26 changes: 1 addition & 25 deletions docker/images/fakesentry/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1 @@
FROM python:3.11.10-slim-bullseye@sha256:d910a25afa706e0b2da4b59990fb59c0495eeab597b5cd777bbdcda8b6530b7e

ARG groupid=5000
ARG userid=5000

WORKDIR /app/

RUN groupadd -r kent && useradd --no-log-init -r -g kent kent

RUN apt-get update && \
apt-get install -y --no-install-recommends curl && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1

RUN pip install -U 'pip>=20' && \
pip install --no-cache-dir 'kent==2.0.0'

USER kent

ENTRYPOINT ["/usr/local/bin/kent-server"]
CMD ["run"]
FROM us-docker.pkg.dev/moz-fx-cavendish-prod/cavendish-prod/fakesentry:v2024.11.19-1@sha256:48b73aa08022eeada40fb878dc25ab225f2f91022961ffbce14ae23a7e6bdcd1
5 changes: 1 addition & 4 deletions docker/images/gcs-emulator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
FROM fsouza/fake-gcs-server:1.50.2@sha256:23996047676fe5312001b828d800670519181c57a5943c2270e7421f3ab3f477

# add curl for use in healthcheck
RUN apk add --no-cache curl
FROM us-docker.pkg.dev/moz-fx-cavendish-prod/cavendish-prod/gcs-emulator:v2024.11.19-1@sha256:a02a86372ffe26c9f07cb55bf2d1551935389f0469d7e7dd0b69580879a00731

0 comments on commit cef5919

Please sign in to comment.