fixup! fixup! fixes

This commit is contained in:
2026-01-02 19:47:15 +00:00
parent 1da6c3d0a3
commit b88c2e1575
2 changed files with 14 additions and 4 deletions
+7 -2
View File
@@ -1,4 +1,7 @@
# Scanning Engine - Background Scanner Worker # Scanning Engine - Background Scanner Worker
ARG TARGETOS
ARG TARGETARCH
FROM alpine:latest FROM alpine:latest
# Install scanning tools and runtime dependencies # Install scanning tools and runtime dependencies
@@ -29,8 +32,10 @@ RUN addgroup -g 1000 scanner && \
RUN mkdir -p /data/cache /data/scans && \ RUN mkdir -p /data/cache /data/scans && \
chown -R scanner:scanner /data chown -R scanner:scanner /data
# Copy binary # Copy binary (from platform-specific path)
COPY gohoarder /usr/local/bin/gohoarder ARG TARGETOS
ARG TARGETARCH
COPY ${TARGETOS}/${TARGETARCH}/gohoarder /usr/local/bin/gohoarder
RUN chmod +x /usr/local/bin/gohoarder RUN chmod +x /usr/local/bin/gohoarder
# Copy example config # Copy example config
+7 -2
View File
@@ -1,4 +1,7 @@
# Application Engine - GoHoarder Server # Application Engine - GoHoarder Server
ARG TARGETOS
ARG TARGETARCH
FROM alpine:latest FROM alpine:latest
# Install runtime dependencies # Install runtime dependencies
@@ -15,8 +18,10 @@ RUN addgroup -g 1000 gohoarder && \
RUN mkdir -p /data/cache /data/metadata && \ RUN mkdir -p /data/cache /data/metadata && \
chown -R gohoarder:gohoarder /data chown -R gohoarder:gohoarder /data
# Copy binary # Copy binary (from platform-specific path)
COPY gohoarder /usr/local/bin/gohoarder ARG TARGETOS
ARG TARGETARCH
COPY ${TARGETOS}/${TARGETARCH}/gohoarder /usr/local/bin/gohoarder
RUN chmod +x /usr/local/bin/gohoarder RUN chmod +x /usr/local/bin/gohoarder
# Copy example config # Copy example config