diff --git a/Dockerfile b/Dockerfile index 8d4afca..6c5bf33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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 && \ diff --git a/Makefile b/Makefile index d1644d6..e91ca47 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/docker-compose.yml b/docker-compose.yml index 239428c..301f5dd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,7 @@ version: '3' services: opal: image: obiba/opal:latest + #image: obiba/opal:test ports: - "8880:8080" links: