Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use arguments with EXPOSE #144

Open
stephbat opened this issue Mar 4, 2021 · 1 comment
Open

Can't use arguments with EXPOSE #144

stephbat opened this issue Mar 4, 2021 · 1 comment

Comments

@stephbat
Copy link

stephbat commented Mar 4, 2021

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

@taybin
Copy link

taybin commented Jun 15, 2021

I'm running into this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants