summaryrefslogtreecommitdiff
path: root/docker/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docker/README.md')
-rw-r--r--docker/README.md24
1 files changed, 0 insertions, 24 deletions
diff --git a/docker/README.md b/docker/README.md
deleted file mode 100644
index 454a681..0000000
--- a/docker/README.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# Build new image
-
-As an example we build a new version of the `leap:jessie` base image:
-
- REGISTRY="0xacab.org:4567"
- REGISTRY_PATH="${REGISTRY}/leap/gitlab-buildpackage"
- IMAGE='jessie_amd64'
-
- cd $IMAGE
- docker ${DOCKER_OPTS} build ${DOCKER_BUILD_OPTS} -t ${REGISTRY_PATH}:${IMAGE} .
-
-## Package upgrades
-
-Sometimes you need to upgrade packages in the base image,
-so this is not done on every build, i.e. when security updates
-are available.
-Disable caching and build new images with:
-
- export DOCKER_BUILD_OPTS="--no-cache"
-
-## Push images
-
- docker login --username=varac 0xacab.org:4567
- docker ${DOCKER_OPTS} push ${REGISTRY_PATH}:${IMAGE}