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"] 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).