Skip to content

Commit

Permalink
update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dojyorin committed Dec 1, 2023
1 parent 580ee54 commit 5d3b17a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cron.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"steps": [{
"name": "compare dockerhub tag and deno latest version",
"run": "! curl -Ls https://registry.hub.docker.com/v2/repositories/dojyorin/deno/tags?page_size=100 | yq '\"v\" + .results[].name' | grep -q ${{needs.fetch.outputs.deno_version}}"
"run": "! curl -Ls https://registry.hub.docker.com/v2/repositories/dojyorin/deno/tags?page_size=100 | yq '.results[].name' | grep -q ${{needs.fetch.outputs.deno_version}}"
}]
},
"test": {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- fetch
steps:
- name: compare dockerhub tag and deno latest version
run: '! curl -Ls https://registry.hub.docker.com/v2/repositories/dojyorin/deno/tags?page_size=100 | yq ''"v" + .results[].name'' | grep -q ${{needs.fetch.outputs.deno_version}}'
run: '! curl -Ls https://registry.hub.docker.com/v2/repositories/dojyorin/deno/tags?page_size=100 | yq ''.results[].name'' | grep -q ${{needs.fetch.outputs.deno_version}}'
test:
uses: ./.github/workflows/_test.yaml
with:
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,18 @@ This image is published on DockerHub and synchronized with latest version of [de
- Distroless: [dojyorin/deno:distroless](https://hub.docker.com/r/dojyorin/deno/tags?name=distroless) (default)
- Alpine: [dojyorin/deno:alpine](https://hub.docker.com/r/dojyorin/deno/tags?name=alpine)

# Tags

|OS|Tags|Arch|
|:--|:--|:--|
|Distroless|`latest` `vX.Y.Z` `distroless` `distroless-vX.Y.Z`|`amd64`|
|Alpine|`alpine` `alpine-vX.Y.Z`|`amd64`|

# How to use
Easy to introduce in your project.

**⚠ Notes ⚠**
- When starting container, be sure to add `--init` flag (`docker run`) or `init: true` property (`docker-compose.yml`) to avoid [PID 1 Problem](https://www.docker.com/blog/keep-nodejs-rockin-in-docker#:~:text=PID%201%20Problem).
- When starting container, be sure to add `--init` flag (`docker run`) or `init: true` property (`docker-compose.yml`) to avoid [PID1 problem](https://www.docker.com/blog/keep-nodejs-rockin-in-docker#:~:text=PID%201%20Problem).
- For security reasons, default runtime user is `nonroot` in distroless and `nobody` in other distributions.

**As single image**
Expand Down

0 comments on commit 5d3b17a

Please sign in to comment.