We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi friends,
The 2 first lines of my Dockerfile are:
ARG MYSQL_VERSION=5 FROM mysql:$MYSQL_VERSION
When I build this Dockerfile through the Concourse resource, with this configuration:
build_args: email: ((docker_email)) MYSQL_VERSION: 8
these are the logs we are getting:
Step 1/30 : ARG MYSQL_VERSION=5 Step 2/30 : FROM mysql:$MYSQL_VERSION
Which is quite confusing. It really appears like the build is using MySQL 5, but we validated that it's correctly using Mysql 8, as expected.
When we run the command locally with docker build . it shows the interpolated variable, which is a lot more user friendly.
docker build .
@peterhaochen47 and I
The text was updated successfully, but these errors were encountered:
As a workaround, for better readability and debug-ability of our logs, we added this line in our Dockerfile:
RUN echo "from mysql:${MYSQL_VERSION}"
which logs in our Concourse output:
Step 3/30 : RUN echo "from mysql:${MYSQL_VERSION}" ---> Running in fe1c4f6237e6 from mysql:8.0.29-1debian10
Sorry, something went wrong.
No branches or pull requests
Hi friends,
The 2 first lines of my Dockerfile are:
When I build this Dockerfile through the Concourse resource, with this configuration:
these are the logs we are getting:
Which is quite confusing. It really appears like the build is using MySQL 5, but we validated that it's correctly using Mysql 8, as expected.
When we run the command locally with
docker build .
it shows the interpolated variable, which is a lot more user friendly.@peterhaochen47 and I
The text was updated successfully, but these errors were encountered: