Skip to content

Commit

Permalink
fix: use ubuntu jammy, python install to be fixed for noble
Browse files Browse the repository at this point in the history
  • Loading branch information
ymarcon committed Aug 30, 2024
1 parent 82fbf35 commit 08015d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
FROM tianon/gosu:latest AS gosu


FROM docker.io/library/eclipse-temurin:8-jre AS server
FROM docker.io/library/eclipse-temurin:8-jre-jammy AS server

ENV OPAL_ADMINISTRATOR_PASSWORD password
ENV OPAL_HOME /srv
Expand All @@ -27,14 +27,14 @@ ENV VALIDATE_PLUGIN_VERSION=1.1.0
WORKDIR /tmp
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y daemon psmisc apt-transport-https unzip curl pipx python3-pip libcurl4-openssl-dev libssl-dev adduser && \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y daemon psmisc apt-transport-https unzip curl python3-pip libcurl4-openssl-dev libssl-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/

# Install Opal Python Client
RUN pipx ensurepath && pipx install obiba-opal
RUN pip install obiba-opal

# Install Opal Server
RUN set -x && \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ all:

# Build Docker image
build:
sudo docker build --no-cache=$(no_cache) --progress=plain -t="obiba/opal:$(tag)" .
sudo docker build --pull --no-cache=$(no_cache) --progress=plain -t="obiba/opal:$(tag)" .

push:
sudo docker image push obiba/opal:$(tag)
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: '3'
services:
opal:
image: obiba/opal:latest
#image: obiba/opal:test
ports:
- "8880:8080"
links:
Expand Down

0 comments on commit 08015d4

Please sign in to comment.