8
8
9
9
[ ![ Docker Pulls] ( https://img.shields.io/docker/pulls/cisagov/example )] ( https://hub.docker.com/r/cisagov/example )
10
10
[ ![ Docker Image Size (latest by date)] ( https://img.shields.io/docker/image-size/cisagov/example )] ( https://hub.docker.com/r/cisagov/example )
11
- [ ![ Platforms] ( https://img.shields.io/badge/platforms-386%20%7C%20amd64%20%7C%20arm%2Fv6%20%7C%20arm%2Fv7%20%7C%20arm64%20%7C%20ppc64le%20%7C%20s390x-blue )] ( https://hub.docker.com/r/cisagov/skeleton-docker/tags )
11
+ [ ![ Platforms] ( https://img.shields.io/badge/platforms-386%20%7C%20amd64%20%7C%20arm%2Fv6%20%7C%20arm%2Fv7%20%7C%20arm64%20%7C%20ppc64le%20%7C%20riscv64%20%7C% 20s390x-blue )] ( https://hub.docker.com/r/cisagov/skeleton-docker/tags )
12
12
13
13
This is a Docker skeleton project that can be used to quickly get a
14
14
new [ cisagov] ( https://github.com/cisagov ) GitHub Docker project
@@ -24,7 +24,7 @@ appropriate for Docker containers and the major languages that we use.
24
24
To run the ` cisagov/example ` image via Docker:
25
25
26
26
``` console
27
- docker run cisagov/example:0.2.2
27
+ docker run cisagov/example:0.2.2+build.1
28
28
```
29
29
30
30
### Running with Docker Compose ###
@@ -39,7 +39,7 @@ docker run cisagov/example:0.2.2
39
39
example :
40
40
environment :
41
41
- ECHO_MESSAGE="Hello from docker compose"
42
- image : cisagov/example:0.2.2
42
+ image : cisagov/example:0.2.2+build.1
43
43
ports :
44
44
- protocol : tcp
45
45
published : " 8080"
@@ -84,7 +84,7 @@ environment variables. See the
84
84
example:
85
85
environment:
86
86
- ECHO_MESSAGE="Hello from docker compose"
87
- image: cisagov/example:0.2.2
87
+ image: cisagov/example:0.2.2+build.1
88
88
ports:
89
89
- protocol: tcp
90
90
published: "8080"
@@ -125,7 +125,7 @@ environment variables. See the
125
125
1. Pull the new image :
126
126
127
127
` ` ` console
128
- docker pull cisagov/example:0.2.2
128
+ docker pull cisagov/example:0.2.2+build.1
129
129
` ` `
130
130
131
131
1. Recreate and run the container by following the [previous instructions](#running-with-docker).
@@ -164,11 +164,11 @@ and then update dependencies as you would above.
164
164
The images of this container are tagged with [semantic
165
165
versions](https://semver.org) of the underlying example project that they
166
166
containerize. It is recommended that most users use a version tag (e.g.
167
- ` :0.2.2` ).
167
+ ` :0.2.2+build.1 ` ).
168
168
169
169
| Image:tag | Description |
170
170
|-----------|-------------|
171
- |`cisagov/example:0.2.2`| An exact release version. |
171
+ |`cisagov/example:0.2.2+build.1 `| An exact release version. |
172
172
|`cisagov/example:0.2`| The most recent release matching the major and minor version numbers. |
173
173
|`cisagov/example:0`| The most recent release matching the major version number. |
174
174
|`cisagov/example:edge` | The most recent image built from a merge into the `develop` branch of this repository. |
@@ -225,7 +225,7 @@ Build the image locally using this git repository as the [build context](https:/
225
225
226
226
` ` ` console
227
227
docker build \
228
- --tag cisagov/example:0.2.2 \
228
+ --tag cisagov/example:0.2.2+build.1 \
229
229
https://github.com/cisagov/example.git#develop
230
230
` ` `
231
231
@@ -256,7 +256,7 @@ Docker:
256
256
--file Dockerfile-x \
257
257
--platform linux/amd64 \
258
258
--output type=docker \
259
- --tag cisagov/example:0.2.2 .
259
+ --tag cisagov/example:0.2.2+build.1 .
260
260
` ` `
261
261
262
262
# # New repositories from a skeleton ##
0 commit comments