mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-07-08 04:24:27 +00:00
fixup! fixup! fixes
This commit is contained in:
+7
-2
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user