Skip to content

Commit 7242881

Browse files
committed
use system's gosu
1 parent ecbd7e4 commit 7242881

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
# https://github.com/obiba/docker-opal
55
#
66

7-
FROM tianon/gosu:latest AS gosu
7+
FROM docker.io/library/eclipse-temurin:21-jre-noble AS server-released
88

9-
FROM docker.io/library/eclipse-temurin:21-jre AS server-released
9+
LABEL OBiBa <dev@obiba.org>
1010

1111
ENV OPAL_ADMINISTRATOR_PASSWORD password
1212
ENV OPAL_HOME /srv
@@ -25,12 +25,10 @@ ENV VALIDATE_PLUGIN_VERSION=2.0.0
2525
WORKDIR /tmp
2626
RUN apt-get update && \
2727
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
28-
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y daemon psmisc apt-transport-https unzip curl python3-pip libcurl4-openssl-dev libssl-dev && \
28+
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y gosu daemon psmisc apt-transport-https unzip curl python3-pip libcurl4-openssl-dev libssl-dev && \
2929
apt-get clean && \
3030
rm -rf /var/lib/apt/lists/*
3131

32-
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/
33-
3432
# Install Opal Python Client
3533
RUN pip install --break-system-packages obiba-opal
3634

0 commit comments

Comments
 (0)