Skip to content

Commit

Permalink
CI: fix docker workflows (OpenEMS#2591)
Browse files Browse the repository at this point in the history
  • Loading branch information
da-Kai authored and fanass-dev committed May 6, 2024
1 parent 6c5051a commit 4b8963e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions tools/docker/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ FROM ghcr.io/linuxserver/baseimage-alpine:edge AS base_container

ARG JAVA_VERSION

RUN wget -O /etc/apk/keys/adoptium.rsa.pub https://packages.adoptium.net/artifactory/api/security/keypair/public/repositories/apk && \
echo 'https://packages.adoptium.net/artifactory/apk/alpine/main' >> /etc/apk/repositories

RUN apk update && apk upgrade

RUN apk add --no-cache \
temurin-${JAVA_VERSION}-jre
openjdk${JAVA_VERSION}-jre

### Build backend container
FROM base_container
Expand Down
5 changes: 1 addition & 4 deletions tools/docker/edge/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ FROM ghcr.io/linuxserver/baseimage-alpine:edge AS base_container

ARG JAVA_VERSION

RUN wget -O /etc/apk/keys/adoptium.rsa.pub https://packages.adoptium.net/artifactory/api/security/keypair/public/repositories/apk && \
echo 'https://packages.adoptium.net/artifactory/apk/alpine/main' >> /etc/apk/repositories

RUN apk update && apk upgrade

RUN apk add --no-cache \
temurin-${JAVA_VERSION}-jre
openjdk${JAVA_VERSION}-jre

### Build edge container
FROM base_container
Expand Down

0 comments on commit 4b8963e

Please sign in to comment.