-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to cavendish fakesentry image
- Loading branch information
Showing
1 changed file
with
1 addition
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1 @@ | ||
FROM --platform=linux/amd64 python:3.11.11-slim-bullseye@sha256:e32fb39f8ca1bc1736579469c6f175d2dfff2bb9170865d706d5da461b708bb6 | ||
|
||
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 |