Skip to content

Commit 858db52

Browse files
authored
feat(dockerfile): add a label to the dockerfile (#130)
Because this image is often used in build environments, it's useful to be able to exclude it from things like `docker system prune` by using the `--filter` flag which works on labels. This way, your build system always has the go-dev image available but you still prune old images no longer being used.
1 parent 7ae5071 commit 858db52

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rootfs/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FROM ubuntu:16.04
22

3+
LABEL name="deis-go-dev"
4+
35
ENV AZCLI_VERSION=2.0.45 \
46
GO_VERSION=1.11 \
57
GLIDE_VERSION=v0.13.1 \

0 commit comments

Comments
 (0)