Dockerfile define multiple ARG arguments in a single line

After testing this by creating the ARGs similar to ENV like this:

ARG CDN_ENDPOINT \
    AWS_S3_BUCKET

I got this error:

ARG requires exactly one argument definition

So judging from that, the ARG command only allows one argument. So its impossible to define multiple ARGs in a single line inside dockerfile.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)