Closed zicklag closed 6 years ago
Thanks for asking. Unfortunately, we are discontinuing this project. See the notice here: https://github.com/grammarly/rocker/blob/master/README.md
Closing this issue as we are not able to address this one. Sorry.
That's OK, I found out very soon afterwards that Docker now had multistage builds, which meant that I didn't need Rocker as much. Thanks for the notification.
The only missing part I still like to have from Rocker is MOUNT. I'm using Gradle to build java programs, MOUNT is very useful to prevent the building process from re-downloading all dependencies every single time.
I tried the suggestions like COPY the dependency description file only, then download all dependencies and utilize docker's cache system. But that only works well for languages like python or node.js because pip and npm uses only one file to describe the dependencies. While in gradle, it requires folder hierarchy to be exist before you can build, not even mention multiple module projects have many gradle.build and other files in submodules' directories.
Mount was the one thing that I did miss from Rocker. I just wanted it because it is way faster than doing a full COPY at every build step.
You might want to try out Drone. Drone lets you write containerized build pipelines and it uses a Docker volume to persist the working directory at each step. Drone is a CI server, but you can also use the CLI to execute the build plans locally if you don't want to use the CI server.
I am trying to build a Rockerfile from behind an HTTP proxy and have been having issues with the way that the build arguments like
http_proxy
,https_proxy
, andno_proxy
are passed in at build time. Here is a very simple Rockerfile I am using as an example.Rockerfile:
When I try to build it I get:
The build arguments are successfully passed into the first container, but when Rocker starts the second stage of the build, the arguments are not passed in and apk will fail to update ( and I interrupt the process ).
I really want to use Rocker, but this is kind of a show-stopper for me. Any help would be greatly appreciated.