Skip to content

Commit

Permalink
WIP: [DSW-2130] Unify UID and GID in Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekSuchanek committed Nov 24, 2023
1 parent 13d473a commit 5da50f3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/dsw-data-seeder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM datastewardshipwizard/python-base:3.11-alpine as builder
FROM datastewardshipwizard/python-base:3.11-basic as builder

WORKDIR /app

Expand All @@ -12,7 +12,7 @@ RUN python -m pip wheel --no-cache-dir --wheel-dir=/app/wheels -r /app/packages/
&& python -m pip wheel --no-cache-dir --no-deps --wheel-dir=/app/wheels /app/packages/dsw-data-seeder


FROM datastewardshipwizard/python-base:3.11-alpine
FROM datastewardshipwizard/python-base:3.11-basic

ENV APPLICATION_CONFIG_PATH /app/config/application.yml
ENV WORKDIR_PATH /home/user/data
Expand Down
4 changes: 2 additions & 2 deletions packages/dsw-document-worker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM datastewardshipwizard/python-base:3.11-alpine-docworker as builder
FROM datastewardshipwizard/python-base:3.11-docworker as builder

ARG TARGETARCH

Expand All @@ -18,7 +18,7 @@ RUN python -m pip wheel --wheel-dir=/app/wheels -r /app/packages/dsw-document-wo
&& python -m pip install --no-index /app/wheels/* \
&& python -m pip wheel --no-deps --wheel-dir=/app/wheels /app/packages/dsw-document-worker

FROM datastewardshipwizard/python-base:3.11-alpine-docworker
FROM datastewardshipwizard/python-base:3.11-docworker

ENV APPLICATION_CONFIG_PATH /app/config/application.yml
ENV WORKDIR_PATH /tmp/docworker
Expand Down
4 changes: 2 additions & 2 deletions packages/dsw-mailer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM datastewardshipwizard/python-base:3.11-alpine as builder
FROM datastewardshipwizard/python-base:3.11-basic as builder

WORKDIR /app

Expand All @@ -10,7 +10,7 @@ RUN python -m pip wheel --no-cache-dir --wheel-dir=/app/wheels -r /app/packages/
&& python -m pip wheel --no-cache-dir --no-deps --wheel-dir=/app/wheels /app/packages/dsw-database \
&& python -m pip wheel --no-cache-dir --no-deps --wheel-dir=/app/wheels /app/packages/dsw-mailer

FROM datastewardshipwizard/python-base:3.11-alpine
FROM datastewardshipwizard/python-base:3.11-basic

ENV APPLICATION_CONFIG_PATH /app/config/application.yml
ENV WORKDIR_PATH /home/user/templates
Expand Down
4 changes: 2 additions & 2 deletions packages/dsw-tdk/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM datastewardshipwizard/python-base:3.11-alpine as builder
FROM datastewardshipwizard/python-base:3.11-basic as builder

WORKDIR /app

Expand All @@ -8,7 +8,7 @@ RUN python -m pip wheel --no-cache-dir --wheel-dir=/app/wheels -r /app/packages/
&& python -m pip wheel --no-cache-dir --no-deps --wheel-dir=/app/wheels /app/packages/dsw-tdk


FROM datastewardshipwizard/python-base:3.11-alpine
FROM datastewardshipwizard/python-base:3.11-basic

ENV PATH "/home/user/.local/bin:$PATH"

Expand Down

0 comments on commit 5da50f3

Please sign in to comment.