Skip to content

Commit

Permalink
Merge pull request #40 from theohbrothers/fix/remove-root-.gnupg-afte…
Browse files Browse the repository at this point in the history
…r-removing-gnupg

Fix: Remove `/root/.gnupg` after removing `gnupg`
  • Loading branch information
leojonathanoh authored Sep 15, 2023
2 parents 9de9fdf + 3f6b74c commit 2e480a0
Show file tree
Hide file tree
Showing 17 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions generate/templates/Dockerfile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ RUN set -eux; \
\
rm -fv "`$FILE"; \
rm -fv "`$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;
VOLUME /data
Expand Down
4 changes: 2 additions & 2 deletions variants/v3.0.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.0.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.0.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.0.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.0.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.0.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.0.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.0.8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.0.9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.1.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.1.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.1.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.1.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.1.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.1.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down
4 changes: 2 additions & 2 deletions variants/v3.1.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN set -eux; \
\
rm -fv "$FILE"; \
rm -fv "$FILE.sig"; \
rm -rf /root/.gnupg; \
apk del gnupg gpg-agent dirmngr;
apk del gnupg gpg-agent dirmngr; \
rm -rf /root/.gnupg;

VOLUME /data

Expand Down

0 comments on commit 2e480a0

Please sign in to comment.