Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit 8969f1b

Browse files
author
Leo Gallucci
committed
Update digest sha256 and image ids to match version v2.46.0-x11
1 parent 042ad7e commit 8969f1b

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Note image ids also change after scm-source.json has being updated which trigger
2020
+ Timezone: Europe/Berlin
2121
+ Built with: Docker version 1.7.0, build 0baf609
2222
+ Python: 2.7.9
23-
+ Digest: sha256:TBD
24-
+ Image ID: TBD
23+
+ Digest: sha256:8d67d3d15dfd449e94433de46c352ff135f38678ebd6e217b613e7f1770d5490
24+
+ Image ID: 247b69cbd53ef323b117362fd8bb7510276c5e9a702d15e8573223b0467538fb
2525

2626
## v2.46.0-base1 (2015-06-09)
2727
+ Upgrade selenium from 2.45.0 to 2.46.0

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ That's is useful for tunneling else you can stick with `docker exec` to get into
4949

5050
## Security
5151

52-
Starting version [v2.46.0-x11][] the file [scm-source.json](./scm-source.json) is included at the root directory of the generated image with information that helps to comply with auditing requirements to trace the creation of this docker image. This is how the file looks like:
52+
Starting version [v2.46.0-x11][] the file [scm-source.json](./scm-source.json) is included at the root directory of the generated image with information that helps to comply with auditing requirements to trace the creation of this docker image.
53+
54+
Note [scm-source.json](./scm-source.json) file will always be 1 commit outdated in the repo but will be correct inside the container.
55+
56+
This is how the file looks like:
5357

5458
```
5559
cat scm-source.json #=> { "url": "https://github.com/elgalu/docker-selenium",
@@ -63,17 +67,17 @@ There are also additional steps you can take to ensure you're using the correct
6367
### Option 1 - Use immutable image digests
6468
Given docker.io currently allows to push the same tag image twice this represent a security concern but since docker >= 1.6.2 is possible to fetch the digest sha256 instead of the tag so you can be sure you're using the exact same docker image every time:
6569

66-
# e.g. sha256 for tag v2.46.0-base1
67-
export SHA=dc7568c79355b6bde63706165b07f3c22e64e5749e12ab3591e5160776e09b1b
70+
# e.g. sha256 for tag v2.46.0-x11
71+
export SHA=8d67d3d15dfd449e94433de46c352ff135f38678ebd6e217b613e7f1770d5490
6872
docker pull elgalu/selenium@sha256:${SHA}
6973

7074
### Option 2 - Check the Full Image Id
7175

7276
Verify that image id is indeed correct
7377

74-
# e.g. full image id for tag v2.46.0-base1
75-
export IMGID=4f827cfc7317413d2e73ef17c6da6216f92d60d080b70fffc15058543e820b93
76-
if docker inspect -f='{{.Id}}' elgalu/selenium:v2.46.0-base1 |grep ${IMGID} &> /dev/null; then
78+
# e.g. full image id for tag v2.46.0-x11
79+
export IMGID=247b69cbd53ef323b117362fd8bb7510276c5e9a702d15e8573223b0467538fb
80+
if docker inspect -f='{{.Id}}' elgalu/selenium:v2.46.0-x11 |grep ${IMGID} &> /dev/null; then
7781
echo "Image ID tested ok"
7882
else
7983
echo "Image ID doesn't match"

scm-source.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"url": "https://github.com/elgalu/docker-selenium",
3-
"revision": "8d2e03d8b4c45c72e0c73481d5141850d54122fe",
3+
"revision": "042ad7e2b3d9bee3334fe29c5138ab3948b5ddc0",
44
"author": "lgallucci",
55
"status": ""
66
}

0 commit comments

Comments
 (0)