Skip to content

Commit

Permalink
release: v0.6.3 (#26)
Browse files Browse the repository at this point in the history
* fix: Add custom uid and gid to dockerfile (#25)
  • Loading branch information
PedroChaparro authored Jan 29, 2024
1 parent dfeadbf commit 07e54bf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [0.6.3](https://github.com/upb-code-labs/static-files-microservice/compare/v0.6.2...v0.6.3) (2024-01-29)


### Bug Fixes

* Add custom uid and gid to dockerfile ([#25](https://github.com/upb-code-labs/static-files-microservice/issues/25)) ([f96402b](https://github.com/upb-code-labs/static-files-microservice/commit/f96402b4e1cecca6c212017eeece285b9ea758a9))



## [0.6.2](https://github.com/upb-code-labs/static-files-microservice/compare/v0.6.1...v0.6.2) (2024-01-25)


Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ RUN go build -o /source/bin/artifact
FROM docker.io/library/alpine:3.18 AS runner

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

# Copy binary and run
WORKDIR /opt/codelabs
COPY --from=builder /source/bin/artifact /source/bin/artifact

# Create default folder to save archives
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.6.2"
"version": "0.6.3"
}

0 comments on commit 07e54bf

Please sign in to comment.