dockerfile_lint
dockerfile_lint copied to clipboard
Can't use arguments with EXPOSE
I get this error when I try to use arguments with EXPOSE
Line 104: -> EXPOSE $CI_SPARK_DRIVER_PORT ERROR: Invalid parameters for command.. Reference -> https://docs.docker.com/engine/reference/builder/
The dockerfile is:
FROM ubuntu:18.04 ARG CI_SPARK_DRIVER_PORT=5001 EXPOSE $CI_SPARK_DRIVER_PORT
I'm running into this as well.