From 06b1cfec9e09f517eb9129e8b50dc309137998cc Mon Sep 17 00:00:00 2001 From: Ilyes512 Date: Sun, 19 Apr 2026 14:08:12 +0200 Subject: [PATCH 1/2] Defined a default workdir at `/workspace` --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4bed359..c46915d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,4 +18,6 @@ RUN apk add --no-cache --upgrade --no-progress \ && for i in $(seq 500 1999); do echo "user:x:$i:$i::/home:/sbin/nologin"; done >> /etc/passwd \ && apk del .usermod +WORKDIR /workspace + CMD ["/bin/bash"] From 60c62249d9d5b56b17f3441334c3372dee730e5a Mon Sep 17 00:00:00 2001 From: Ilyes512 Date: Sun, 19 Apr 2026 14:08:19 +0200 Subject: [PATCH 2/2] Updated readme --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 05a48db..0e1585b 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,20 @@ A minimal Alpine based image with: - gnupg - pass +Pulling image from GitHub Container Registry: + +```bash +docker pull ghcr.io/ilyes512/utils:latest +``` + +Interactive shell and mounting the current directory: + +```bash +docker run -it -v $(pwd):/workspace --rm ghcr.io/ilyes512/utils:latest /bin/bash +``` + +Default workspace: `/workspace` + ## Task This project uses [Task](https://taskfile.dev) (an task runner / build tool).