Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
janheinrichmerker authored Sep 2, 2024
1 parent ea86402 commit b89e0dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM openjdk:18-slim as openjdk
FROM openjdk:18-slim AS openjdk

FROM python:3.9-slim as python
FROM python:3.9-slim AS python

COPY --from=openjdk /usr/local/openjdk-* /usr/local/openjdk
ENV JAVA_HOME /usr/local/openjdk

Check warning on line 6 in Dockerfile

View workflow job for this annotation

GitHub Actions / 🏗️ Docker image

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Expand Down

0 comments on commit b89e0dd

Please sign in to comment.