Skip to content

Commit

Permalink
release: v0.1.4 (#20)
Browse files Browse the repository at this point in the history
* fix(sec): Define GID and UID

This is done in order to user the "runAsUser" and "runAsGroup" options in the k8s manifest.
  • Loading branch information
PedroChaparro authored Feb 21, 2024
1 parent 0af0061 commit 4934d60
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [0.1.4](https://github.com/upb-code-labs/tests-microservice/compare/v0.1.3...v0.1.4) (2024-02-21)


### Bug Fixes

* **sec:** Define GID and UID ([2c06370](https://github.com/upb-code-labs/tests-microservice/commit/2c06370d77484016a9f14352456170c03d9e2f4b))



## [0.1.3](https://github.com/upb-code-labs/tests-microservice/compare/v0.1.2...v0.1.3) (2024-01-23)


Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ RUN apk --no-cache add openjdk17
RUN apk --no-cache add maven

# Add non-root user
RUN adduser -D -h /opt/codelabs codelabs
RUN addgroup -g 1000 codelabs
RUN adduser -D -h /opt/codelabs -u 1000 -G codelabs codelabs
WORKDIR /opt/codelabs
USER codelabs

Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.1.3"
"version": "0.1.4"
}

0 comments on commit 4934d60

Please sign in to comment.