Skip to content

Can't use arguments with EXPOSE #144

Description

@stephbat

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions