#105 introduced a new way of doing container image build, where the dockerfile describing the build and any additional files in the build context are streamed to the build process directly (as parts of a virtual TAR file), without the need to have them as files on disk.
We should use this facility to do container tunnel proxy image build. More specifically,
- The dockerfile for the container proxy image build should be streamed from memory (it is currently saved to a temporary disk file in a temporary folder that serves as the build context)
- The (container client) proxy binary should be streamed into the build process by copying bits directly from the binary that is part of DCP distribution into the virtual tar file.
#105 introduced a new way of doing container image build, where the dockerfile describing the build and any additional files in the build context are streamed to the build process directly (as parts of a virtual TAR file), without the need to have them as files on disk.
We should use this facility to do container tunnel proxy image build. More specifically,