-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
12 additions
and
20 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 |
---|---|---|
|
@@ -4,9 +4,7 @@ | |
# https://github.com/obiba/docker-agate | ||
# | ||
|
||
FROM tianon/gosu:latest AS gosu | ||
|
||
FROM docker.io/library/eclipse-temurin:21-jre-jammy AS server-released | ||
FROM docker.io/library/eclipse-temurin:21-jre-noble AS server-released | ||
|
||
LABEL OBiBa <[email protected]> | ||
|
||
|
@@ -18,15 +16,17 @@ ENV AGATE_ADMINISTRATOR_PASSWORD=password | |
ENV AGATE_HOME=/srv | ||
ENV JAVA_OPTS=-Xmx2G | ||
|
||
ENV AGATE_VERSION 3.1.0 | ||
ENV AGATE_VERSION 3.1.1 | ||
|
||
# Install Agate Python Client | ||
RUN \ | ||
apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y apt-transport-https unzip curl python3-pip libcurl4-openssl-dev libssl-dev | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y gosu apt-transport-https unzip curl python3-pip libcurl4-openssl-dev libssl-dev && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN pip install obiba-agate | ||
RUN pip install --break-system-packages obiba-agate | ||
|
||
# Install Agate Server | ||
RUN set -x && \ | ||
|
@@ -36,15 +36,13 @@ RUN set -x && \ | |
rm agate.zip && \ | ||
mv agate-${AGATE_VERSION} agate | ||
|
||
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/ | ||
|
||
RUN chmod +x /usr/share/agate/bin/agate | ||
|
||
COPY ./bin /opt/agate/bin | ||
|
||
RUN chmod +x -R /opt/agate/bin | ||
RUN adduser --system --home $AGATE_HOME --no-create-home --disabled-password agate | ||
RUN chown -R agate /opt/agate | ||
RUN chmod +x -R /opt/agate/bin && \ | ||
adduser --system --home $AGATE_HOME --no-create-home --disabled-password agate && \ | ||
chown -R agate /opt/agate | ||
|
||
VOLUME /srv | ||
|
||
|
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
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