From 3a0557ad0b3292f43c4e3d6ed691c8b47ebb5f46 Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Fri, 24 Nov 2023 16:20:31 +0330 Subject: [PATCH] feat: add nodejs --- .github/dependabot.yml | 15 +++++++++++++++ .github/workflows/publish-container.yml | 3 +++ node/.dockerignore | 1 + node/Dockerfile | 19 +++++++++++++++++++ node/README.md | 3 +++ 5 files changed, 41 insertions(+) create mode 100644 node/.dockerignore create mode 100644 node/Dockerfile create mode 100644 node/README.md diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6db5b9b..b9a1a19 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -201,3 +201,18 @@ updates: - ci - priority-low - maintenance + + - package-ecosystem: docker + directory: /node + ignore: + - dependency-name: "*" + update-types: + - version-update:semver-major + reviewers: + - AliMD + schedule: + interval: daily + labels: + - ci + - priority-low + - maintenance diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml index 1c7d5b1..8b876b6 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -67,6 +67,9 @@ jobs: - name: postgres path: postgres + - name: node + path: node + permissions: contents: read packages: write diff --git a/node/.dockerignore b/node/.dockerignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/node/.dockerignore @@ -0,0 +1 @@ +* diff --git a/node/Dockerfile b/node/Dockerfile new file mode 100644 index 0000000..0d8dd35 --- /dev/null +++ b/node/Dockerfile @@ -0,0 +1,19 @@ +FROM docker.io/library/node:18.18.2-alpine3.18 + +ARG BUILD_REV +ARG BUILD_DATE +LABEL org.opencontainers.image.title="alwatr/node" \ + org.opencontainers.image.description="Cross-platform ECMAScript runtime environment, packaged by Alwatr." \ + org.opencontainers.image.base.name="docker.io/library/node:18.18.2-alpine3.18" \ + org.opencontainers.image.version="18.18.2" \ + org.opencontainers.image.ref.name="18.18.2" \ + org.opencontainers.image.licenses="MIT" \ + org.opencontainers.image.created=${BUILD_DATE} \ + org.opencontainers.image.revision=${BUILD_REV} \ + org.opencontainers.image.vendor="Alwatr" \ + org.opencontainers.image.source="https://github.com/Alwatr/containers/tree/next/node" \ + org.opencontainers.image.url="https://github.com/Alwatr/containers/tree/next/node" \ + org.opencontainers.image.documentation="https://github.com/Alwatr/containers/tree/next/node" \ + org.opencontainers.image.authors="S. Ali Mihandoost (https://ali.mihandoost.com), S. Amir Mohammad Najafi (https://njfamirm.ir/)" \ + cloud.alwatr.image.version.full="18.18.2" \ + cloud.alwatr.image.version.short="18" diff --git a/node/README.md b/node/README.md new file mode 100644 index 0000000..de3f960 --- /dev/null +++ b/node/README.md @@ -0,0 +1,3 @@ +# Alwatr Node.js Container + +Cross-platform ECMAScript runtime environment, packaged by Alwatr. \ No newline at end of file