Skip to content

Commit 4dff7c7

Browse files
committed
Update Dockerfile and dependencies
- Simplify Dockerfile by removing user creation and permissions setup - Change ENTRYPOINT to run the application directly - Update docker-socket-manager version from 0.1.0 to 0.1.1
1 parent cbda774 commit 4dff7c7

4 files changed

Lines changed: 5 additions & 13 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
## [0.1.1] - 2026-04-19
1111

1212
### Fixed
13-
- Backup directory creation failing when mounted volume is owned by root - container now runs entrypoint as root, fixes permissions, then switches to appuser
13+
- Backup directory creation failing when mounted volume is owned by root - container now runs as root for full filesystem access
1414
- Version number corrected in package.json and Sidebar UI (was 0.0.0 / 1.0.0)
15+
- Update docker-socket-manager version from 0.1.0 to 0.1.1
1516

1617
---
1718

Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,10 @@ FROM eclipse-temurin:17-jre-alpine
3636

3737
WORKDIR /app
3838

39-
RUN apk add --no-cache su-exec && \
40-
addgroup -g 1000 appgroup && \
41-
adduser -u 1000 -G appgroup -S appuser && \
42-
mkdir -p /data /app/backups && \
43-
chown appuser:appgroup /data /app/backups
39+
RUN mkdir -p /data /app/backups
4440

4541
COPY --from=backend-builder /app/target/backup-manager-*.jar app.jar
46-
COPY entrypoint.sh /entrypoint.sh
47-
RUN chmod +x /entrypoint.sh
4842

4943
EXPOSE 8080
5044

51-
ENTRYPOINT ["/entrypoint.sh"]
45+
ENTRYPOINT ["java", "-jar", "app.jar"]

entrypoint.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<dependency>
4747
<groupId>com.github.nomad4tech</groupId>
4848
<artifactId>docker-socket-manager</artifactId>
49-
<version>0.1.0</version>
49+
<version>0.1.1</version>
5050
</dependency>
5151

5252
<!-- Spring Boot Web -->

0 commit comments

Comments
 (0)