You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 6, 2021. It is now read-only.
The only weird thing is that in order to keep the same configuration options for ENV variables in the configuration file, I have to do something like this, where RELEASE is a configurable variable just like MCROUTER_VERSION and MCROUTER_SHA:
Dockerfile:
FROM ubuntu:__RELEASE__
# [..snip..]
ENV RELEASE 14.04
But, since FROM has to be the first line of the Dockerfile, we have to use a "templated" variable (__RELEASE__) that we replace in the Makefile:
I don't know if there's a cleaner way to do this. The above should work but it's kind of hacky. Perhaps a wrapper script for the whole process? I was avoiding that because I thought your use of a Makefile was a clever way to handle the whole build + docker orchestration and wanted to stick to that.