mirror of
https://github.com/Belphemur/CBZOptimizer.git
synced 2026-01-12 00:26:26 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7c63ea49c0 | ||
|
|
8a067939af | ||
|
|
9e61ff4634 |
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
|||||||
- name: Analyse test results
|
- name: Analyse test results
|
||||||
run: go-junit-report < test-results.txt > report.xml
|
run: go-junit-report < test-results.txt > report.xml
|
||||||
- name: Upload test result artifact
|
- name: Upload test result artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-results
|
name: test-results
|
||||||
path: test-results.txt
|
path: test-results.txt
|
||||||
|
|||||||
@@ -3,13 +3,13 @@ LABEL authors="Belphemur"
|
|||||||
ENV USER=abc
|
ENV USER=abc
|
||||||
ENV CONFIG_FOLDER=/config
|
ENV CONFIG_FOLDER=/config
|
||||||
ENV PUID=99
|
ENV PUID=99
|
||||||
RUN mkdir -p "${CONFIG_FOLDER}" && adduser \
|
RUN adduser \
|
||||||
--disabled-password \
|
--disabled-password \
|
||||||
--gecos "" \
|
--gecos "" \
|
||||||
--home "$(pwd)" \
|
--home "$(pwd)" \
|
||||||
--ingroup "users" \
|
--ingroup "users" \
|
||||||
--no-create-home \
|
|
||||||
--uid "${PUID}" \
|
--uid "${PUID}" \
|
||||||
|
--home "${CONFIG_FOLDER}" \
|
||||||
"${USER}" && \
|
"${USER}" && \
|
||||||
chown ${PUID}:${GUID} "${CONFIG_FOLDER}"
|
chown ${PUID}:${GUID} "${CONFIG_FOLDER}"
|
||||||
|
|
||||||
@@ -17,5 +17,6 @@ COPY CBZOptimizer /usr/local/bin/CBZOptimizer
|
|||||||
|
|
||||||
RUN apk add --no-cache inotify-tools bash-completion && chmod +x /usr/local/bin/CBZOptimizer && /usr/local/bin/CBZOptimizer completion bash > /etc/bash_completion.d/CBZOptimizer
|
RUN apk add --no-cache inotify-tools bash-completion && chmod +x /usr/local/bin/CBZOptimizer && /usr/local/bin/CBZOptimizer completion bash > /etc/bash_completion.d/CBZOptimizer
|
||||||
|
|
||||||
|
VOLUME ${CONFIG_FOLDER}
|
||||||
USER ${USER}
|
USER ${USER}
|
||||||
ENTRYPOINT ["/usr/local/bin/CBZOptimizer"]
|
ENTRYPOINT ["/usr/local/bin/CBZOptimizer"]
|
||||||
Reference in New Issue
Block a user