-
Notifications
You must be signed in to change notification settings - Fork 548
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure tmp folder is present on docker container (#910)
* chore: add logger to bookmark update cache * ensure there's a tmp folder in the container
- Loading branch information
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,8 @@ ARG TARGETOS | |
ARG TARGETVARIANT | ||
COPY dist/shiori_${TARGETOS}_${TARGETARCH}${TARGETVARIANT}/shiori /usr/bin/shiori | ||
RUN apk add --no-cache ca-certificates tzdata && \ | ||
chmod +x /usr/bin/shiori | ||
chmod +x /usr/bin/shiori && \ | ||
rm -rf /tmp/* | ||
|
||
# Server image | ||
FROM scratch | ||
|
@@ -20,6 +21,7 @@ WORKDIR ${SHIORI_DIR} | |
LABEL org.opencontainers.image.source="https://github.com/go-shiori/shiori" | ||
LABEL maintainer="Felipe Martin <[email protected]>" | ||
|
||
COPY --from=builder /tmp /tmp | ||
COPY --from=builder /usr/bin/shiori /usr/bin/shiori | ||
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo | ||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters