Skip to content

Commit 388cca2

Browse files
authored
Merge pull request #237 from cisagov/improvement/add_support_for_riscv64
Add support for the `linux/riscv64` platform
2 parents d2ae98f + 57bfd29 commit 388cca2

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.github/workflows/_repo-metadata.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
"linux/arm/v7",
5555
"linux/arm64",
5656
"linux/ppc64le",
57+
"linux/riscv64",
5758
"linux/s390x",
5859
],
5960
},

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
[![Docker Pulls](https://img.shields.io/docker/pulls/cisagov/example)](https://hub.docker.com/r/cisagov/example)
1010
[![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)
1212

1313
This is a Docker skeleton project that can be used to quickly get a
1414
new [cisagov](https://github.com/cisagov) GitHub Docker project
@@ -24,7 +24,7 @@ appropriate for Docker containers and the major languages that we use.
2424
To run the `cisagov/example` image via Docker:
2525

2626
```console
27-
docker run cisagov/example:0.2.2
27+
docker run cisagov/example:0.2.2+build.1
2828
```
2929

3030
### Running with Docker Compose ###
@@ -39,7 +39,7 @@ docker run cisagov/example:0.2.2
3939
example:
4040
environment:
4141
- ECHO_MESSAGE="Hello from docker compose"
42-
image: cisagov/example:0.2.2
42+
image: cisagov/example:0.2.2+build.1
4343
ports:
4444
- protocol: tcp
4545
published: "8080"
@@ -84,7 +84,7 @@ environment variables. See the
8484
example:
8585
environment:
8686
- ECHO_MESSAGE="Hello from docker compose"
87-
image: cisagov/example:0.2.2
87+
image: cisagov/example:0.2.2+build.1
8888
ports:
8989
- protocol: tcp
9090
published: "8080"
@@ -125,7 +125,7 @@ environment variables. See the
125125
1. Pull the new image:
126126

127127
```console
128-
docker pull cisagov/example:0.2.2
128+
docker pull cisagov/example:0.2.2+build.1
129129
```
130130

131131
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.
164164
The images of this container are tagged with [semantic
165165
versions](https://semver.org) of the underlying example project that they
166166
containerize. It is recommended that most users use a version tag (e.g.
167-
`:0.2.2`).
167+
`:0.2.2+build.1`).
168168

169169
| Image:tag | Description |
170170
|-----------|-------------|
171-
|`cisagov/example:0.2.2`| An exact release version. |
171+
|`cisagov/example:0.2.2+build.1`| An exact release version. |
172172
|`cisagov/example:0.2`| The most recent release matching the major and minor version numbers. |
173173
|`cisagov/example:0`| The most recent release matching the major version number. |
174174
|`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:/
225225

226226
```console
227227
docker build \
228-
--tag cisagov/example:0.2.2 \
228+
--tag cisagov/example:0.2.2+build.1 \
229229
https://github.com/cisagov/example.git#develop
230230
```
231231

@@ -256,7 +256,7 @@ Docker:
256256
--file Dockerfile-x \
257257
--platform linux/amd64 \
258258
--output type=docker \
259-
--tag cisagov/example:0.2.2 .
259+
--tag cisagov/example:0.2.2+build.1 .
260260
```
261261

262262
## New repositories from a skeleton ##

src/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.2
1+
0.2.2+build.1

0 commit comments

Comments
 (0)