Skip to content

Commit 605e520

Browse files
authored
Merge pull request #12 from paulbouwer/library-fix
updated minimist library - CVE-2020-7598
2 parents 178ae20 + 6c4454f commit 605e520

File tree

5 files changed

+28
-36
lines changed

5 files changed

+28
-36
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The default "Hello world!" message displayed can be overridden using the `MESSAG
1313

1414
It is available on DockerHub as:
1515

16-
- [paulbouwer/hello-kubernetes:1.7](https://hub.docker.com/r/paulbouwer/hello-kubernetes/)
16+
- [paulbouwer/hello-kubernetes:1.8](https://hub.docker.com/r/paulbouwer/hello-kubernetes/)
1717

1818
## Deploy
1919

@@ -51,7 +51,7 @@ spec:
5151
spec:
5252
containers:
5353
- name: hello-kubernetes
54-
image: paulbouwer/hello-kubernetes:1.7
54+
image: paulbouwer/hello-kubernetes:1.8
5555
ports:
5656
- containerPort: 8080
5757
```
@@ -102,7 +102,7 @@ spec:
102102
spec:
103103
containers:
104104
- name: hello-kubernetes
105-
image: paulbouwer/hello-kubernetes:1.7
105+
image: paulbouwer/hello-kubernetes:1.8
106106
ports:
107107
- containerPort: 8080
108108
env:
@@ -137,7 +137,7 @@ spec:
137137
spec:
138138
containers:
139139
- name: hello-kubernetes
140-
image: paulbouwer/hello-kubernetes:1.7
140+
image: paulbouwer/hello-kubernetes:1.8
141141
ports:
142142
- containerPort: 80
143143
env:
@@ -152,12 +152,12 @@ If you'd like to build the image yourself, then you can do so as follows. The `b
152152

153153
Bash
154154
```bash
155-
$ docker build --no-cache --build-arg IMAGE_VERSION="1.7" --build-arg IMAGE_CREATE_DATE="`date -u +"%Y-%m-%dT%H:%M:%SZ"`" --build-arg IMAGE_SOURCE_REVISION="`git rev-parse HEAD`" -f Dockerfile -t "hello-kubernetes:1.7" app
155+
$ docker build --no-cache --build-arg IMAGE_VERSION="1.8" --build-arg IMAGE_CREATE_DATE="`date -u +"%Y-%m-%dT%H:%M:%SZ"`" --build-arg IMAGE_SOURCE_REVISION="`git rev-parse HEAD`" -f Dockerfile -t "hello-kubernetes:1.8" app
156156
```
157157

158158
Powershell
159159
```powershell
160-
PS> docker build --no-cache --build-arg IMAGE_VERSION="1.7" --build-arg IMAGE_CREATE_DATE="$(Get-Date((Get-Date).ToUniversalTime()) -UFormat '%Y-%m-%dT%H:%M:%SZ')" --build-arg IMAGE_SOURCE_REVISION="$(git rev-parse HEAD)" -f Dockerfile -t "hello-kubernetes:1.7" app
160+
PS> docker build --no-cache --build-arg IMAGE_VERSION="1.8" --build-arg IMAGE_CREATE_DATE="$(Get-Date((Get-Date).ToUniversalTime()) -UFormat '%Y-%m-%dT%H:%M:%SZ')" --build-arg IMAGE_SOURCE_REVISION="$(git rev-parse HEAD)" -f Dockerfile -t "hello-kubernetes:1.8" app
161161
```
162162

163163
## Develop Application

app/package-lock.json

Lines changed: 17 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hello-kubernetes",
3-
"version": "1.7.0",
3+
"version": "1.8.0",
44
"description": "Hello Kubernetes!",
55
"author": "Paul Bouwer",
66
"license": "MIT",
@@ -12,7 +12,8 @@
1212
"bytes": "^3.1.0",
1313
"express": "^4.17.1",
1414
"express-handlebars": "^3.1.0",
15-
"handlebars": "^4.7.2",
15+
"handlebars": "^4.7.6",
16+
"minimist": ">=1.2.5",
1617
"morgan": "^1.9.1"
1718
}
1819
}

yaml/hello-kubernetes.custom-message.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
spec:
2727
containers:
2828
- name: hello-kubernetes
29-
image: paulbouwer/hello-kubernetes:1.7
29+
image: paulbouwer/hello-kubernetes:1.8
3030
ports:
3131
- containerPort: 8080
3232
env:

yaml/hello-kubernetes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ spec:
2626
spec:
2727
containers:
2828
- name: hello-kubernetes
29-
image: paulbouwer/hello-kubernetes:1.7
29+
image: paulbouwer/hello-kubernetes:1.8
3030
ports:
3131
- containerPort: 8080

0 commit comments

Comments
 (0)