forked from mtusi2026/mtusi2026lab7
fix(security): scope row locks and add explicit expiry recovery
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
apt=3.0.4
|
||||
ca-certificates=20250419+deb13u1
|
||||
libapt-pkg7.0=3.0.4
|
||||
liblzma5=5.8.1-1+deb13u2
|
||||
libpcre2-8-0=10.46-1~deb13u3
|
||||
libssl3t64=3.5.7-1~deb13u3
|
||||
openssl=3.5.7-1~deb13u3
|
||||
openssl-provider-legacy=3.5.7-1~deb13u3
|
||||
zlib1g=1:1.3.dfsg+really1.3.1-1+deb13u1
|
||||
+5
-1
@@ -28,11 +28,15 @@ RUN --mount=type=cache,target=/go/pkg/mod,sharing=locked \
|
||||
go build -trimpath -ldflags='-s -w' -o /out/mc .
|
||||
|
||||
FROM python:3.14.7-slim-trixie@sha256:51dafde81dbdb6ebde285137a295cf18a47ca95234fe388a343719cb97305b3d AS server
|
||||
COPY infra/os-security-packages.txt /tmp/os-security-packages.txt
|
||||
RUN apt-get update \
|
||||
&& DEBIAN_FRONTEND=noninteractive xargs -r apt-get install -y --no-install-recommends --only-upgrade < /tmp/os-security-packages.txt \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/os-security-packages.txt
|
||||
LABEL org.opencontainers.image.revision=9e49d5e7a648f00e26f2246f4dc28e6b07f8c84a org.opencontainers.image.version=RELEASE.2025-10-15T17-29-55Z
|
||||
COPY --from=minio-build /out/minio /usr/local/bin/minio
|
||||
COPY --from=minio-build /source/LICENSE /licenses/minio.LICENSE
|
||||
COPY --chmod=755 infra/s3-entrypoint.sh /usr/local/bin/s3-entrypoint
|
||||
RUN python -m pip uninstall -y pip && mkdir /data && chown 10001:10001 /data
|
||||
RUN python -m pip uninstall -y pip && rm -rf /usr/local/lib/python3.14/ensurepip && mkdir /data && chown 10001:10001 /data
|
||||
USER 10001:10001
|
||||
ENTRYPOINT ["/usr/local/bin/s3-entrypoint"]
|
||||
EXPOSE 9000
|
||||
|
||||
Reference in New Issue
Block a user