Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/lambda-feedback/evaluation-function-base/wolfram:latest as base

Check warning on line 1 in Dockerfile

View workflow job for this annotation

GitHub Actions / build / Build and Push Docker Image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

# Command to start the evaluation function with
ENV FUNCTION_COMMAND="wolframscript"
Expand All @@ -15,10 +15,10 @@
COPY ./evaluation_function.wl /app/evaluation_function.wl

FROM base AS with-license
COPY ./dist/LICENCE.txt /home/wolframengine/.WolframEngine/Licensing/mathpass
COPY ./dist/LICENSE.txt /home/wolframengine/.WolframEngine/Licensing/mathpass

FROM base AS without-license
# no COPY, no error

# Choose final stage with build arg
ARG WITH_LICENSE=false
Expand Down