diff options
Diffstat (limited to 'pkg/docker_bundleapt/Makefile')
-rw-r--r-- | pkg/docker_bundleapt/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/pkg/docker_bundleapt/Makefile b/pkg/docker_bundleapt/Makefile index a9eaa7c7..e68a9cf5 100644 --- a/pkg/docker_bundleapt/Makefile +++ b/pkg/docker_bundleapt/Makefile @@ -1,16 +1,20 @@ +IMAGE=bitmask-bundler-apt + +# for leap registry + build: - docker build -t 0xacab.org:4567/leap/docker/bitmask-bundler:latest . + docker build -t 0xacab.org:4567/leap/docker/$(IMAGE):latest . push: - docker push 0xacab.org:4567/leap/docker/bitmask-bundler:latest + docker push 0xacab.org:4567/leap/docker/$(IMAGE):latest login: docker login 0xacab.org:4567 -# local tests +# for local tests bundler: - docker build -t bundler . + docker build -t $(IMAGE) . shell: - docker run -i -t bundler bash + docker run -i -t $(IMAGE) bash bundle: - echo "cd /src/leap/bitmask-dev && VIRTUAL_ENV=/usr/local make bundle && cp -r dist/* /dist" | docker run -i -v /srv/bitmask-builds:/dist -w /dist bundler bash + echo "cd /src/leap/bitmask-dev && VIRTUAL_ENV=/usr/local make bundle && cp -r dist/* /dist" | docker run -i -v /srv/bitmask-builds:/dist -w /dist $(IMAGE) bash |