File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## Unreleased
99
10+ ## [ 0.18.0.dev3] - 2025-12-13
11+
12+ ### Changed
13+ - Hardcode UID/GID of 1000 for non-root user in Docker image
14+
1015## [ 0.18.0.dev2] - 2025-12-13
1116
1217### Changed
Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ ENV UV_CACHE_DIR=/uv_cache
4343ENV TZ=UTC
4444
4545# Create non-root user and needed directories
46- RUN groupadd --system hassette \
47- && useradd --system --gid hassette --create-home --home-dir /home/hassette hassette \
46+ RUN groupadd --gid 1000 hassette \
47+ && useradd --uid 1000 --gid 1000 --create-home --home-dir /home/hassette hassette \
4848 && mkdir -p "$UV_CACHE_DIR" /config /data /apps \
49- && chown -R hassette:hassette /home/hassette "$UV_CACHE_DIR" /config /data /apps /app
49+ && chown -R 1000:1000 /home/hassette "$UV_CACHE_DIR" /config /data /apps /app
5050
5151COPY --from=uv /uv /bin/uv
5252COPY --from=builder --chown=hassette:hassette /app /app
You can’t perform that action at this time.
0 commit comments