Skip to content

Commit

Permalink
Merge pull request #741 from dyvenia/update_dockerfile
Browse files Browse the repository at this point in the history
✨ Updated Dockerfile
  • Loading branch information
Rafalz13 authored Aug 30, 2023
2 parents 6b0f998 + 4d2ff2d commit ec03319
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added `LumaIngest` task.

### Fixed
- Updated Dockerfile - Changed Linux (RPM/DEB/APK) installer packages.

### Changed

Expand Down
6 changes: 4 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ COPY . .
RUN pip install .

## Install Java 11
RUN curl https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ && \
RUN apt install -y wget apt-transport-https && \
mkdir -p /etc/apt/keyrings && \
wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \
echo "deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list && \
apt update -q && \
apt install -q adoptopenjdk-11-hotspot -y && \
find /usr/bin/java -type d -exec chmod 777 {} \;
Expand Down

0 comments on commit ec03319

Please sign in to comment.