Skip to content

Commit

Permalink
Merge pull request #56 from webis-de/janheinrichmerker-patch-1
Browse files Browse the repository at this point in the history
Fix Dockerfile format
  • Loading branch information
janheinrichmerker authored Sep 2, 2024
2 parents ea86402 + b89e0dd commit ad36da6
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 ad36da6

Please sign in to comment.