Skip to content

Commit

Permalink
Update docker base image
Browse files Browse the repository at this point in the history
Set OS version, fix addgroup as changed in Ubuntu Noble.
  • Loading branch information
skodapetr committed Aug 5, 2024
1 parent b50073b commit 2acf10d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions executor-monitor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM eclipse-temurin:21 as lp-etl-build
FROM eclipse-temurin:21-noble as lp-etl-build
ARG LP_ETL_BUILD=""

WORKDIR /opt/lp-etl/
COPY ./ ./
RUN ./mvnw install $LP_ETL_BUILD -P "install-executor-monitor"

FROM eclipse-temurin:21
FROM eclipse-temurin:21-noble
ARG LP_ETL_USER=5987
RUN addgroup --gid $LP_ETL_USER "linkedpipes" \
RUN groupadd --gid $LP_ETL_USER "linkedpipes" \
&& useradd --gid "linkedpipes" --uid $LP_ETL_USER "linkedpipes"
RUN mkdir -p /data/lp-etl/executor \
&& mkdir -p /data/lp-etl/logs \
Expand Down
6 changes: 3 additions & 3 deletions executor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:21 as lp-etl-build
FROM eclipse-temurin:21-noble as lp-etl-build
ARG LP_ETL_BUILD=""

WORKDIR /opt/lp-etl/
Expand All @@ -7,9 +7,9 @@ COPY ./ ./
RUN cp ./deploy/configuration.docker.properties ./deploy/configuration.properties.sample
RUN ./mvnw install $LP_ETL_BUILD -P "install-executor,install-plugins"

FROM eclipse-temurin:21
FROM eclipse-temurin:21-noble
ARG LP_ETL_USER=5987
RUN addgroup --gid $LP_ETL_USER "linkedpipes" \
RUN groupadd --gid $LP_ETL_USER "linkedpipes" \
&& useradd --gid "linkedpipes" --uid $LP_ETL_USER "linkedpipes"
RUN mkdir -p /data/lp-etl/executor \
&& mkdir -p /data/lp-etl/logs \
Expand Down
6 changes: 3 additions & 3 deletions storage/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:21 as lp-etl-build
FROM eclipse-temurin:21-noble as lp-etl-build
ARG LP_ETL_BUILD=""

WORKDIR /opt/lp-etl/
Expand All @@ -7,9 +7,9 @@ COPY ./ ./
RUN cp ./deploy/configuration.docker.properties ./deploy/configuration.properties.sample
RUN ./mvnw install $LP_ETL_BUILD -P "install-storage,install-plugins"

FROM eclipse-temurin:21
FROM eclipse-temurin:21-noble
ARG LP_ETL_USER=5987
RUN addgroup --gid $LP_ETL_USER "linkedpipes" \
RUN groupadd --gid $LP_ETL_USER "linkedpipes" \
&& useradd --gid "linkedpipes" --uid $LP_ETL_USER "linkedpipes"
RUN mkdir -p /data/lp-etl/storage \
&& mkdir -p /data/lp-etl/logs \
Expand Down

0 comments on commit 2acf10d

Please sign in to comment.