You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openserverless.apache.org by ms...@apache.org on 2026/09/07 20:24:10 UTC

(openserverless-devcontainer) branch 0.9.0 updated (3f53c86 -> b557560)

This is an automated email from the ASF dual-hosted git repository.

sciabarracom pushed a change to branch 0.9.0
in repository https://gitbox.apache.org/repos/asf/openserverless-devcontainer.git


    from 3f53c86  fixed license and attributes
     new 0d26d54  reworked build
     new 7dbfb02  reworked credentials
     new f0ac852  aligning licenses
     new b2e0f11  no force
     new 8584e7e  fixed snapshot
     new b557560  aligned github actions to asf actions

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .asf.yaml                                     |  17 ++
 .env.dist                                     |  13 ++
 .gitattributes => .github/workflows/check.yml |  26 ++-
 .github/workflows/image.yml                   | 103 +++++++++
 .github/workflows/images.yml                  |  63 ------
 .gitignore                                    |  17 ++
 .gitattributes => .licenserc.yaml             |  19 +-
 DISCLAIMER                                    |  11 +
 Dockerfile                                    |  27 ++-
 LICENSE                                       | 315 ++++++++++++++++++++++++++
 NOTICE                                        |  77 +++++++
 README.md                                     |  19 ++
 Taskfile.yml                                  | 156 +++++++++++--
 WARN                                          |  93 ++++++++
 start.sh                                      |  17 ++
 supervisord.ini                               |  17 ++
 16 files changed, 898 insertions(+), 92 deletions(-)
 create mode 100644 .env.dist
 copy .gitattributes => .github/workflows/check.yml (59%)
 create mode 100644 .github/workflows/image.yml
 delete mode 100644 .github/workflows/images.yml
 copy .gitattributes => .licenserc.yaml (74%)
 create mode 100644 DISCLAIMER
 create mode 100644 LICENSE
 create mode 100644 NOTICE
 create mode 100644 WARN


(openserverless-devcontainer) 05/06: fixed snapshot

Posted by ms...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sciabarracom pushed a commit to branch 0.9.0
in repository https://gitbox.apache.org/repos/asf/openserverless-devcontainer.git

commit 8584e7e637f7d0f58b14531cd221908e630a866c
Author: Michele Sciabarra <mi...@sciabarra.com>
AuthorDate: Sun Sep 6 14:57:56 2026 +0200

    fixed snapshot
---
 Taskfile.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Taskfile.yml b/Taskfile.yml
index a1f5881..9822499 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -19,7 +19,7 @@ version: '3'
 
 vars:
   BASETAG: 0.9.0-incubating
-  SUFFIX: "-SNAPSHOT"
+  SUFFIX: "-snapshot"
   COMMIT_ID:
     sh: git rev-parse --short HEAD
   # taken from the tag - overridable with DEVCONTAINER_TAG env var
@@ -89,7 +89,7 @@ tasks:
     silent: true
     vars:
       TS:
-        sh: date '+%y %m %d %H %M' | awk '{printf "%s%s%d%s%d\n", $1, substr("abcdefghijkl",$2+0,1), $3, substr("abcdefghijklmnopqrstuvwx",$4+1,1), $5}'
+        sh: date '+%y %m %d %H %M' | awk '{printf "%s%s%02d%s%02d\n", $1, substr("abcdefghijkl",$2+0,1), $3, substr("abcdefghijklmnopqrstuvwx",$4+1,1), $5}'
     cmds:
       - git tag -d $(git tag) 2>/dev/null || true
       - |


(openserverless-devcontainer) 06/06: aligned github actions to asf actions

Posted by ms...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sciabarracom pushed a commit to branch 0.9.0
in repository https://gitbox.apache.org/repos/asf/openserverless-devcontainer.git

commit b557560b7b833a5e2495909a3d00de2eb550249f
Author: Michele Sciabarra <mi...@sciabarra.com>
AuthorDate: Mon Sep 7 14:31:55 2026 +0200

    aligned github actions to asf actions
---
 .github/workflows/image.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml
index dc0cc82..3d0193f 100644
--- a/.github/workflows/image.yml
+++ b/.github/workflows/image.yml
@@ -87,17 +87,17 @@ jobs:
             echo "REGISTRY_TOKEN=${{ secrets.DOCKERHUB_TOKEN }}" >> "$GITHUB_ENV"
           fi
       - name: Registry login
-        uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
+        uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4.4.0
         with:
           registry: ${{ env.REGISTRY }}
           username: ${{ env.REGISTRY_USER }}
           password: ${{ env.REGISTRY_TOKEN }}
       - name: Set up QEMU
-        uses: docker/setup-qemu-action@1f40c72289eff860ee54a304f1438e3cff362e0a # v4.3.0
+        uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
         with:
           image: tonistiigi/binfmt:qemu-v7.0.0-28
       - name: Set up Docker Buildx
-        uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
+        uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
       - name: Image
         run: task buildx PUSH=1 DEVCONTAINER_TAG=$IMG_TAG
 


(openserverless-devcontainer) 01/06: reworked build

Posted by ms...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sciabarracom pushed a commit to branch 0.9.0
in repository https://gitbox.apache.org/repos/asf/openserverless-devcontainer.git

commit 0d26d549047c9176852eee89a9b73c7790ca30c0
Author: Michele Sciabarra <mi...@sciabarra.com>
AuthorDate: Fri Sep 4 19:42:16 2026 +0200

    reworked build
---
 .env.dist                    |  13 ++++
 .github/workflows/check.yml  |  40 +++++++++++
 .github/workflows/image.yml  |  94 ++++++++++++++++++++++++++
 .github/workflows/images.yml |  63 ------------------
 .gitignore                   |   1 +
 Dockerfile                   |   3 +
 Taskfile.yml                 | 153 ++++++++++++++++++++++++++++++++++++++-----
 7 files changed, 286 insertions(+), 81 deletions(-)

diff --git a/.env.dist b/.env.dist
new file mode 100644
index 0000000..4681e43
--- /dev/null
+++ b/.env.dist
@@ -0,0 +1,13 @@
+# github user, used to derive the default local image name
+GITHUB_USER=github: put here your github user
+
+# full image name WITHOUT the tag (registry/namespace/repository).
+# Overrides the default taken from ARG DEVCONTAINER_IMAGE_DEFAULT in the Dockerfile.
+MY_DEVCONTAINER_IMAGE=ghcr.io/${GITHUB_USER}/openserverless-devcontainer
+
+# for task docker-login-ghcr (github)
+GITHUB_TOKEN=
+
+# for task docker-login-dockerhub (dockerhub)
+DOCKERHUB_TOKEN=
+DOCKERHUB_USER=
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
new file mode 100644
index 0000000..763789c
--- /dev/null
+++ b/.github/workflows/check.yml
@@ -0,0 +1,40 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+name: Check
+on:
+  push:
+  pull_request:
+  workflow_dispatch:
+
+jobs:
+  check:
+    name: Check OpenServerless Devcontainer
+    runs-on: ubuntu-22.04
+    permissions:
+      contents: read
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v7
+        with:
+          submodules: recursive
+      - name: Setup
+        run: |
+          sudo sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
+      # the image is built (not pushed) to verify the Dockerfile still works
+      - name: Build
+        run: task build
diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml
new file mode 100644
index 0000000..f88ddcd
--- /dev/null
+++ b/.github/workflows/image.yml
@@ -0,0 +1,94 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+name: Build Image
+on:
+  push:
+    tags:
+      - '[0-9]*'
+    branches-ignore: '*'
+  workflow_dispatch:
+
+jobs:
+  image:
+    name: Build OpenServerless Devcontainer Image
+    runs-on: ubuntu-22.04
+    permissions:
+      contents: write
+      packages: write
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v7
+        with:
+          submodules: recursive
+          # full history and tags: "task tag" replaces the existing tags
+          # and "git describe" needs them to be present
+          fetch-depth: 0
+      - name: Setup
+        run: |
+          sudo sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
+      # Manual run: create a new snapshot tag on the current HEAD and push it.
+      # The push of the tag does not start another run (GITHUB_TOKEN pushes do
+      # not trigger workflows), so this same run goes on and builds it.
+      - name: Tag HEAD (manual run)
+        if: ${{ github.event_name == 'workflow_dispatch' }}
+        run: |
+          git config user.name "github-actions[bot]"
+          git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
+          task tag
+          task ci
+      - name: Assign TAG from push
+        run: |
+          echo "IMG_TAG=$(git describe --tags --abbrev=0)" >> "$GITHUB_ENV"
+      - name: Generate .env
+        run: |
+          OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
+          if [ "$OWNER" = "apache" ]; then
+            IMAGE=$(awk -F= '/ARG DEVCONTAINER_IMAGE_DEFAULT=/ { print $2 ; exit }' Dockerfile)
+          else
+            IMAGE="ghcr.io/$OWNER/openserverless-devcontainer"
+          fi
+          echo "GITHUB_USER=$OWNER" > .env
+          echo "MY_DEVCONTAINER_IMAGE=$IMAGE" >> .env
+          cat .env
+      - name: Select registry
+        env:
+          DOCKERHUB_REGISTRY: ${{ secrets.DOCKERHUB_REGISTRY }}
+        run: |
+          if [ -n "$DOCKERHUB_REGISTRY" ]; then
+            REGISTRY="$DOCKERHUB_REGISTRY"
+          elif [ "${{ github.repository_owner }}" = "apache" ]; then
+            REGISTRY="docker.io"
+          else
+            REGISTRY="ghcr.io"
+          fi
+          echo "REGISTRY=$REGISTRY" >> "$GITHUB_ENV"
+      - name: Registry login
+        uses: docker/login-action@v4
+        with:
+          registry: ${{ env.REGISTRY }}
+          username: ${{ secrets.DOCKERHUB_USER || github.repository_owner }}
+          password: ${{ secrets.DOCKERHUB_TOKEN || secrets.GITHUB_TOKEN }}
+      - name: Set up QEMU
+        uses: docker/setup-qemu-action@v4
+        with:
+          image: tonistiigi/binfmt:qemu-v7.0.0-28
+      - name: Set up Docker Buildx
+        uses: docker/setup-buildx-action@v4
+      - name: Image
+        run: task buildx PUSH=1 DEVCONTAINER_TAG=$IMG_TAG
+
diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml
deleted file mode 100644
index ccf74f4..0000000
--- a/.github/workflows/images.yml
+++ /dev/null
@@ -1,63 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-name: Build Images
-on:
-  push:
-    tags:
-      - '[0-9]*'
-    branches-ignore: '*'
-  #pull_request:
-  #  branches: [main]
-
-permissions:
-  contents: write
-  packages: write
-
-jobs:
-  image:
-    name: Build Image
-    runs-on: ubuntu-22.04
-    steps:
-      - name: Checkout recursive
-        uses: actions/checkout@v2
-      # TODO
-      #- name: License check
-      #  uses: apache/skywalking-eyes@main
-      #  continue-on-error: true
-      - name: Assign TAG from pull request
-        if:  ${{ github.event_name == 'pull_request' }}
-        run: |
-          echo "IMG_TAG=$(git rev-parse --short HEAD)" >> "$GITHUB_ENV"
-      - name: Assign TAG from push
-        if:  ${{ github.event_name != 'pull_request' }}
-        run: |
-          echo "IMG_TAG=$(git describe --tags --abbrev=0)" >> "$GITHUB_ENV"
-      - name: Registry login
-        uses: docker/login-action@v3
-        with:
-          username: ${{ secrets.DOCKERHUB_USER }}
-          password: ${{ secrets.DOCKERHUB_TOKEN }}
-      - name: Set up Docker Buildx
-        uses: docker/setup-buildx-action@v3
-      - name: Build and push
-        uses: docker/build-push-action@v5
-        with:
-          platforms: linux/amd64,linux/arm64
-          tags: apache/openserverless-devcontainer:${{ env.IMG_TAG }}
-          push: true
-
diff --git a/.gitignore b/.gitignore
index e60aaea..febe6bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 
 _*
+.env
diff --git a/Dockerfile b/Dockerfile
index fd0d4b3..0150a6b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,7 @@
 FROM node:22
+
+ARG DEVCONTAINER_IMAGE_DEFAULT=docker.io/apache/openserverless-devcontainer
+ARG DEVCONTAINER_TAG_DEFAULT=latest
 # Install basic development tools
 RUN \
     echo "deb http://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
diff --git a/Taskfile.yml b/Taskfile.yml
index 504a420..4b54c00 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -1,46 +1,163 @@
-version: 3
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+version: '3'
 
 vars:
-
-  NAME: apache/openserverless-devcontainer
+  BASETAG: 0.9.0-incubating
+  SUFFIX: "-SNAPSHOT"
+  COMMIT_ID:
+    sh: git rev-parse --short HEAD
+  # taken from the tag - overridable with DEVCONTAINER_TAG env var
   TAG:
-    sh: git tag --sort=-creatordate | head -n 1 || "latest"
+    sh: echo "${DEVCONTAINER_TAG:-$(git describe --tags --abbrev=0 2>/dev/null || git rev-parse --short HEAD)}"
+  # taken from the Dockerfile - overridable with MY_DEVCONTAINER_IMAGE env var
+  DEVCONTAINER_IMAGE:
+    sh: echo "${MY_DEVCONTAINER_IMAGE:-$(awk -F= '/ARG DEVCONTAINER_IMAGE_DEFAULT=/ { print $2 ; exit }' Dockerfile)}"
+
+dotenv:
+  - .env
 
 tasks:
 
   default: task --list-all
 
-  show: "echo {{.NAME}}:{{.TAG}}"
+  image:
+    desc: |
+      Print the image name that would be built.
+    silent: true
+    cmds:
+      - echo "Devcontainer=${MY_DEVCONTAINER_IMAGE:-{{.DEVCONTAINER_IMAGE}}}:{{.TAG}}"
 
-  update-opsroot:
+  show:
     silent: true
     cmds:
-    - jq . ../olaris/opsroot.json >_opsroot.orig
-    - jq '.config.images.devcontainer = "{{.NAME}}:{{.TAG}}"' ../olaris/opsroot.json >_opsroot.json
-    - diff _opsroot.orig _opsroot.json || cp -v _opsroot.json ../olaris/opsroot.json
+      - echo "${MY_DEVCONTAINER_IMAGE:-{{.DEVCONTAINER_IMAGE}}}:{{.TAG}}"
+
+  docker-login-ghcr:
+    silent: true
+    cmds:
+      - |
+        echo "Logging in to ghcr.io as $GITHUB_USER"
+        echo $GITHUB_TOKEN | docker login ghcr.io -u $GITHUB_USER --password-stdin
 
+  docker-login-dockerhub:
+    silent: true
+    cmds:
+      - |
+        echo "Logging in to docker.io as $DOCKERHUB_USER"
+        echo $DOCKERHUB_TOKEN | docker login docker.io -u $DOCKERHUB_USER --password-stdin
+
+  docker-login:
+    desc: |
+      Login to the registry the image name points to: docker.io for apache images,
+      ghcr.io otherwise.
+    silent: true
+    cmds:
+      - |
+        IMG="${MY_DEVCONTAINER_IMAGE:-{{.DEVCONTAINER_IMAGE}}}"
+        case "$IMG" in
+          ghcr.io/*) task docker-login-ghcr ;;
+          *)         task docker-login-dockerhub ;;
+        esac
+
+  # deprecated - use task tag
   image-tag:
-      - git tag -d "$(git tag)" || true
-      - git tag "0.1.0-incubating.$(date +%y%m%d%H%M)"
-      - echo {{.NAME}}:$(git tag --sort=-creatordate | head -n 1)
+    desc: "[deprecated] use task tag"
+    silent: true
+    cmds:
+      - 'echo "deprecated, use task tag"'
+
+  tag:
+    desc: |
+      Create a new snapshot tag for the current git commit.
+      NOTE: this deletes the existing local tags first - snapshot tags are disposable.
+    silent: true
+    vars:
+      TS:
+        sh: date '+%y %m %d %H %M' | awk '{printf "%s%s%d%s%d\n", $1, substr("abcdefghijkl",$2+0,1), $3, substr("abcdefghijklmnopqrstuvwx",$4+1,1), $5}'
+    cmds:
+      - git tag -d $(git tag) 2>/dev/null || true
+      - |
+        TAG="{{.BASETAG}}.{{.TS}}{{.SUFFIX}}"
+        git tag -f $TAG
+        echo New tag $TAG
+
+  ci:
+    desc: |
+      Push the tags, starting the GitHub Actions build on the repo that received them.
+      This does not build anything locally.
+    cmds:
+      - git push --tags --force
+
+  buildx:
+    desc: |
+      Build the docker image using buildx. Set PUSH=1 to push the image to the registry.
+    silent: true
+    cmds:
+      - |
+        IMG="${MY_DEVCONTAINER_IMAGE:-{{.DEVCONTAINER_IMAGE}}}:{{.TAG}}"
+        if [ -n "{{.PUSH}}" ]; then
+          {{.DRY}} docker buildx build -t "$IMG" \
+            --build-arg DEVCONTAINER_IMAGE_DEFAULT="${MY_DEVCONTAINER_IMAGE:-{{.DEVCONTAINER_IMAGE}}}" \
+            --build-arg DEVCONTAINER_TAG_DEFAULT="{{.TAG}}" \
+            --platform linux/amd64,linux/arm64 . --push
+        else
+          {{.DRY}} docker buildx build -t "$IMG" \
+            --build-arg DEVCONTAINER_IMAGE_DEFAULT="${MY_DEVCONTAINER_IMAGE:-{{.DEVCONTAINER_IMAGE}}}" \
+            --build-arg DEVCONTAINER_TAG_DEFAULT="{{.TAG}}" \
+            . --load
+        fi
+        echo "Built $IMG"
 
   build:
-      - docker build -t "{{.NAME}}:{{.TAG}}" . --load
-      - task: show
+    desc: |
+      Build the docker image locally and load it into the local docker daemon.
+    cmds:
+      - task: buildx
+
+  update-opsroot:
+    desc: update the devcontainer image in olaris/opsroot.json
+    silent: true
+    cmds:
+    - jq . ../olaris/opsroot.json >_opsroot.orig
+    - |
+      IMG="${MY_DEVCONTAINER_IMAGE:-{{.DEVCONTAINER_IMAGE}}}:{{.TAG}}"
+      jq --arg img "$IMG" '.config.images.devcontainer = $img' ../olaris/opsroot.json >_opsroot.json
+    - diff _opsroot.orig _opsroot.json || cp -v _opsroot.json ../olaris/opsroot.json
 
   clean:
+    desc: remove the local containers and images
+    cmds:
       - docker rm -f ssh-devcontainer || true
       - docker images | awk '/<none>|devcontainer/{print $3}' | xargs docker rmi -f || true
 
   all:
-    - task: image-tag
+    desc: tag, build and update opsroot
+    cmds:
+    - task: tag
     # warning: the ':' is missing intentionally to reload the tag
     - task build
     - task update-opsroot
 
   publish:
+    desc: commit, tag and push - this starts the CI build
+    cmds:
     - git commit -m "publishing $(date)" -a || true
-    - task: image-tag
+    - task: tag
     - task update-opsroot
-    - git push origin main --tags
-
+    - task: ci


(openserverless-devcontainer) 03/06: aligning licenses

Posted by ms...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sciabarracom pushed a commit to branch 0.9.0
in repository https://gitbox.apache.org/repos/asf/openserverless-devcontainer.git

commit f0ac852c74af97e60b843db60d3706f9323f16da
Author: Michele Sciabarra <mi...@sciabarra.com>
AuthorDate: Sat Sep 5 10:07:10 2026 +0200

    aligning licenses
---
 .asf.yaml                                      |  17 ++
 .github/workflows/check.yml                    |   1 -
 .github/workflows/image.yml                    |   2 +-
 .gitignore                                     |  16 ++
 .github/workflows/check.yml => .licenserc.yaml |  36 ++-
 DISCLAIMER                                     |  11 +
 Dockerfile                                     |  24 +-
 LICENSE                                        | 315 +++++++++++++++++++++++++
 NOTICE                                         |  77 ++++++
 README.md                                      |  19 ++
 Taskfile.yml                                   |   5 +
 WARN                                           |  93 ++++++++
 start.sh                                       |  17 ++
 supervisord.ini                                |  17 ++
 14 files changed, 624 insertions(+), 26 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index ab59476..fe71b3d 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 github:
   rulesets:
     - name: "Default Branch Protection"
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index 763789c..f349f9f 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -17,7 +17,6 @@
 #
 name: Check
 on:
-  push:
   pull_request:
   workflow_dispatch:
 
diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml
index 6849987..dc0cc82 100644
--- a/.github/workflows/image.yml
+++ b/.github/workflows/image.yml
@@ -19,7 +19,7 @@ name: Build Image
 on:
   push:
     tags:
-      - '[0-9]*'
+      - '*.*.*.*'
     branches-ignore: '*'
   workflow_dispatch:
 
diff --git a/.gitignore b/.gitignore
index febe6bc..593fd3a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 _*
 .env
diff --git a/.github/workflows/check.yml b/.licenserc.yaml
similarity index 58%
copy from .github/workflows/check.yml
copy to .licenserc.yaml
index 763789c..748f339 100644
--- a/.github/workflows/check.yml
+++ b/.licenserc.yaml
@@ -15,26 +15,18 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-name: Check
-on:
-  push:
-  pull_request:
-  workflow_dispatch:
+header:
+  license:
+    spdx-id: Apache-2.0
+    copyright-owner: Apache Software Foundation
 
-jobs:
-  check:
-    name: Check OpenServerless Devcontainer
-    runs-on: ubuntu-22.04
-    permissions:
-      contents: read
-    steps:
-      - name: Checkout
-        uses: actions/checkout@v7
-        with:
-          submodules: recursive
-      - name: Setup
-        run: |
-          sudo sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
-      # the image is built (not pushed) to verify the Dockerfile still works
-      - name: Build
-        run: task build
+  paths-ignore:
+    - '.git-hooks/pre-commit'
+    - '**/_*'
+    - 'LICENSE'
+    - 'NOTICE'
+    - 'DISCLAIMER'
+    - WARN
+    - '.env.dist'
+    - '.gitattributes'
+    - '**/.npmrc'
diff --git a/DISCLAIMER b/DISCLAIMER
new file mode 100644
index 0000000..b505beb
--- /dev/null
+++ b/DISCLAIMER
@@ -0,0 +1,11 @@
+Apache OpenServerless (Incubating) is an effort undergoing incubation at the Apache
+Software Foundation (ASF), sponsored by the Apache Incubator PMC.
+
+Incubation is required of all newly accepted projects until a further review
+indicates that the infrastructure, communications, and decision making process
+have stabilized in a manner consistent with other successful ASF projects.
+
+While incubation status is not necessarily a reflection of the completeness
+or stability of the code, it does indicate that the project has yet to be
+fully endorsed by the ASF.
+
diff --git a/Dockerfile b/Dockerfile
index 0150a6b..8f7d7a5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 FROM node:22
 
 ARG DEVCONTAINER_IMAGE_DEFAULT=docker.io/apache/openserverless-devcontainer
@@ -5,9 +22,9 @@ ARG DEVCONTAINER_TAG_DEFAULT=latest
 # Install basic development tools
 RUN \
     echo "deb http://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
-    wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |  apt-key add - && \
+    curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
     apt update && \
-    apt install -y less man-db sudo vim jq python-is-python3 python3-virtualenv \
+    apt install -y less sudo jq nano python-is-python3 python3-virtualenv \
     locales postgresql-client-16 openssh-server tini supervisor
 
 # setup env
@@ -32,5 +49,8 @@ ADD start.sh /usr/local/bin/start.sh
 
 RUN mkdir /home/workspace
 WORKDIR /home/workspace
+# Apache release metadata (see DISCLAIMER, LICENSE, NOTICE, WARN)
+COPY DISCLAIMER LICENSE NOTICE /
+
 ENTRYPOINT ["tini", "--"]
 CMD ["/usr/local/bin/start.sh"]
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..b91aaad
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,315 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+
+==============================================================================
+BEGIN BUNDLED THIRD-PARTY SOFTWARE INVENTORY (container image)
+==============================================================================
+
+==============================================================================
+LICENSES OF BUNDLED THIRD-PARTY SOFTWARE
+Container image: apache/openserverless-devcontainer
+==============================================================================
+
+Apache OpenServerless itself is licensed under the Apache License,
+Version 2.0, reproduced above. The container image built from the
+Dockerfile beside this file additionally bundles the third-party
+components listed below, each under its own license.
+
+Refer to https://www.apache.org/legal/resolved.html for the ASF
+classification of these licenses. Components that are NOT compatible
+with the Apache License 2.0 are enumerated in the WARN file.
+
+------------------------------------------------------------------------------
+Summary by license
+------------------------------------------------------------------------------
+
+Apache-2.0
+    Apache OpenServerless CLI (ops) (main)
+
+BSD-2-Clause AND others
+    openssh-server ((Debian bookworm))
+
+BSD-derived (Supervisor License)
+    supervisor ((Debian bookworm))
+
+GPL-2.0-or-later AND LGPL-2.1-or-later
+    locales (glibc) ((Debian bookworm))
+
+GPL-3.0-or-later
+    nano ((Debian bookworm))
+
+GPL-3.0-or-later OR BSD-2-Clause
+    less ((Debian bookworm))
+
+ISC AND BSD-3-Clause
+    sudo ((Debian bookworm))
+
+MIT
+    Node.js (22)
+    jq ((Debian bookworm))
+    python3-virtualenv ((Debian bookworm))
+    tini ((Debian bookworm))
+
+PSF-2.0
+    python-is-python3 / python3 ((Debian bookworm))
+
+PostgreSQL License (BSD-like)
+    postgresql-client-16 ((PGDG apt repo))
+
+mixed; see WARN
+    (see the FROM line of the Dockerfile) (-)
+
+MIT-like (curl license)
+    curl ((Debian bookworm))
+
+------------------------------------------------------------------------------
+Detail by component
+------------------------------------------------------------------------------
+
+Tools installed by the Dockerfile
+---------------------------------
+  Node.js (22) -- MIT
+      Base image node:22.
+  Apache OpenServerless CLI (ops) (main) -- Apache-2.0
+      Installed from apache/openserverless-cli.
+  less ((Debian bookworm)) -- GPL-3.0-or-later OR BSD-2-Clause
+      *** SEE WARN ***
+  sudo ((Debian bookworm)) -- ISC AND BSD-3-Clause
+  jq ((Debian bookworm)) -- MIT
+  nano ((Debian bookworm)) -- GPL-3.0-or-later
+      *** SEE WARN ***
+  python-is-python3 / python3 ((Debian bookworm)) -- PSF-2.0
+  python3-virtualenv ((Debian bookworm)) -- MIT
+  locales (glibc) ((Debian bookworm)) -- GPL-2.0-or-later AND LGPL-2.1-or-later
+      *** SEE WARN ***
+  postgresql-client-16 ((PGDG apt repo)) -- PostgreSQL License (BSD-like)
+  openssh-server ((Debian bookworm)) -- BSD-2-Clause AND others
+  tini ((Debian bookworm)) -- MIT
+  supervisor ((Debian bookworm)) -- BSD-derived (Supervisor License)
+  curl ((Debian bookworm)) -- MIT-like (curl license)
+
+Base operating system image
+---------------------------
+  (see the FROM line of the Dockerfile) (-) -- mixed; see WARN
+      Operating-system components are supplied by the upstream base image and are not
+      redistributed by the ASF in source form.
+
+------------------------------------------------------------------------------
+Full license texts
+------------------------------------------------------------------------------
+
+The complete text of the Apache License 2.0 is reproduced at the top of
+this file. The complete texts of the other licenses referenced above are
+distributed with each component inside the container image, in the
+package metadata directories of the respective package manager:
+
+  * Python packages: <site-packages>/<dist>.dist-info/ (LICENSE, METADATA)
+  * Node.js packages: /node_modules/<pkg>/LICENSE
+  * PHP packages:     /phpAction/composer/vendor/<pkg>/LICENSE
+  * Go modules:       vendored module sources / pkg.go.dev
+  * Debian packages:  /usr/share/doc/<pkg>/copyright
+
+==============================================================================
+END BUNDLED THIRD-PARTY SOFTWARE INVENTORY
+==============================================================================
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..bfad71b
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,77 @@
+Apache OpenServerless (Incubating)
+Copyright 2024 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+
+==============================================================================
+BEGIN BUNDLED THIRD-PARTY SOFTWARE INVENTORY (container image)
+==============================================================================
+
+------------------------------------------------------------------------------
+Container image: apache/openserverless-devcontainer
+------------------------------------------------------------------------------
+
+This image bundles third-party software. The components below are
+redistributed under the licenses recorded in the LICENSE file that
+accompanies this NOTICE. Components flagged '*** SEE WARN ***' are
+listed in the WARN file as incompatible with the Apache License 2.0.
+
+Tools installed by the Dockerfile
+---------------------------------
+  * Node.js (22)
+      License: MIT
+      Base image node:22.
+  * Apache OpenServerless CLI (ops) (main)
+      License: Apache-2.0
+      Installed from apache/openserverless-cli.
+  * less ((Debian bookworm))
+      License: GPL-3.0-or-later OR BSD-2-Clause
+      *** SEE WARN ***
+  * sudo ((Debian bookworm))
+      License: ISC AND BSD-3-Clause
+  * jq ((Debian bookworm))
+      License: MIT
+  * nano ((Debian bookworm))
+      License: GPL-3.0-or-later
+      *** SEE WARN ***
+  * python-is-python3 / python3 ((Debian bookworm))
+      License: PSF-2.0
+  * python3-virtualenv ((Debian bookworm))
+      License: MIT
+  * locales (glibc) ((Debian bookworm))
+      License: GPL-2.0-or-later AND LGPL-2.1-or-later
+      *** SEE WARN ***
+  * postgresql-client-16 ((PGDG apt repo))
+      License: PostgreSQL License (BSD-like)
+  * openssh-server ((Debian bookworm))
+      License: BSD-2-Clause AND others
+  * tini ((Debian bookworm))
+      License: MIT
+  * supervisor ((Debian bookworm))
+      License: BSD-derived (Supervisor License)
+  * curl ((Debian bookworm))
+      License: MIT-like (curl license)
+
+Base operating system image
+---------------------------
+  * (see the FROM line of the Dockerfile) (-)
+      License: mixed; see WARN
+      Operating-system components are supplied by the upstream base image and are not
+      redistributed by the ASF in source form.
+
+------------------------------------------------------------------------------
+Attribution required by bundled components
+------------------------------------------------------------------------------
+
+This product includes software developed by the Apache Software
+Foundation (http://www.apache.org/), including Apache OpenWhisk
+components and Apache-2.0 licensed libraries listed above.
+
+This product includes software developed by third parties under the
+MIT, BSD, ISC, PSF, MPL-2.0 and other licenses, as recorded in LICENSE.
+
+==============================================================================
+END BUNDLED THIRD-PARTY SOFTWARE INVENTORY
+==============================================================================
diff --git a/README.md b/README.md
index b23a41c..8d3f941 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,22 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License.  You may obtain a copy of the License at
+  ~
+  ~   http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied.  See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+-->
+
 # DevContainer
 
 The devcontainer uses
diff --git a/Taskfile.yml b/Taskfile.yml
index 4b54c00..1d95102 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -161,3 +161,8 @@ tasks:
     - task: tag
     - task update-opsroot
     - task: ci
+
+  license:
+    desc: check license
+    cmds:
+    - license-eye header check
\ No newline at end of file
diff --git a/WARN b/WARN
new file mode 100644
index 0000000..4f25319
--- /dev/null
+++ b/WARN
@@ -0,0 +1,93 @@
+==============================================================================
+WARN -- Apache License 2.0 incompatibilities
+Container image: apache/openserverless-devcontainer
+==============================================================================
+
+This file lists third-party components bundled by the Dockerfile beside
+it whose licenses are NOT compatible with the Apache License, Version 2.0,
+together with components that require special handling.
+
+Classification follows the ASF third-party licensing policy:
+
+    https://www.apache.org/legal/resolved.html
+
+  Category A  Apache-2.0 compatible. May be included in a release.
+  Category B  May be included in BINARY form only, unmodified and as a
+              separate file, with the reciprocal license disclosed.
+  Category X  MUST NOT be included in an Apache release artifact.
+
+IMPORTANT SCOPE NOTE
+------------------------------------------------------------------------------
+The Apache release artifact for OpenServerless is the SOURCE distribution,
+which contains this Dockerfile and the files beside it -- all Apache-2.0
+licensed. The published container image is a CONVENIENCE BINARY assembled
+at build time from third-party base images and package repositories.
+Category X components inherited from a base operating system image are
+disclosed below but are not redistributed by the ASF in source form.
+Category X components that this Dockerfile ADDS on purpose must be removed.
+
+
+==============================================================================
+CATEGORY X
+==============================================================================
+
+  Component : nano
+  License   : GPL-3.0-or-later
+  Category  : X
+  Action    :
+      GNU nano is GPL-3.0-or-later. Installed by the apt list in this Dockerfile, so it
+      is added on purpose and is NOT covered by the base-image disclosure below.
+      REMOVE `nano` from the apt install list, or replace it with an editor under a
+      Category A licence.
+
+
+==============================================================================
+CATEGORY X (as installed)
+==============================================================================
+
+  Component : less
+  License   : GPL-3.0-or-later OR BSD-2-Clause
+  Category  : X (as installed)
+  Action    :
+      Debian ships `less` under the GPL-3.0 option. Developer convenience only.
+      REMOVE from the apt install list, or confirm the BSD-2-Clause option applies.
+
+
+==============================================================================
+CATEGORY X (as bundled)
+==============================================================================
+
+  Component : glibc / locales
+  License   : GPL-2.0-or-later AND LGPL-2.1-or-later
+  Category  : X (as bundled)
+  Action    :
+      Part of the base operating system image. Not distributed by the ASF as source;
+      the ASF release is the Dockerfile only. No action required beyond this disclosure.
+
+  Component : Debian/Ubuntu/Alpine base image userland
+  License   : mixed, incl. GPL-2.0/GPL-3.0
+  Category  : X (as bundled)
+  Action    :
+      The base image contains GPL-licensed operating-system components. The Apache release
+      artifact is the SOURCE (this Dockerfile and the files beside it); the published
+      container image is a convenience binary assembled from third-party base images.
+      No action required beyond this disclosure.
+
+
+==============================================================================
+SUMMARY OF REQUIRED REMOVALS (Category X added by this Dockerfile)
+==============================================================================
+
+  [ ] nano  --  GPL-3.0-or-later
+  [ ] less  --  GPL-3.0-or-later (Debian ships the GPL option)
+
+==============================================================================
+ADDITIONAL NOTES
+==============================================================================
+
+This is a DEVELOPER CONVENIENCE image. It deliberately bundles an interactive
+shell environment, so it carries more GPL-licensed operating-system tooling
+than the production images. It is not part of the deployed runtime and it is
+published as a convenience binary only; the Apache release artifact remains
+the Dockerfile and the scripts beside it.
+
diff --git a/start.sh b/start.sh
index c067b6b..16b6eae 100755
--- a/start.sh
+++ b/start.sh
@@ -1,4 +1,21 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 
 #setup sshd
 mkdir -p /run/sshd
diff --git a/supervisord.ini b/supervisord.ini
index dd5ab03..2761559 100644
--- a/supervisord.ini
+++ b/supervisord.ini
@@ -1,3 +1,20 @@
+; Licensed to the Apache Software Foundation (ASF) under one
+; or more contributor license agreements.  See the NOTICE file
+; distributed with this work for additional information
+; regarding copyright ownership.  The ASF licenses this file
+; to you under the Apache License, Version 2.0 (the
+; "License"); you may not use this file except in compliance
+; with the License.  You may obtain a copy of the License at
+;
+;   http://www.apache.org/licenses/LICENSE-2.0
+;
+; Unless required by applicable law or agreed to in writing,
+; software distributed under the License is distributed on an
+; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+; KIND, either express or implied.  See the License for the
+; specific language governing permissions and limitations
+; under the License.
+
 [supervisord]
 nodaemon=true
 logfile=/dev/null


(openserverless-devcontainer) 02/06: reworked credentials

Posted by ms...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sciabarracom pushed a commit to branch 0.9.0
in repository https://gitbox.apache.org/repos/asf/openserverless-devcontainer.git

commit 7dbfb02ebc4e3b270c46c70dd7834de09986e9b5
Author: Michele Sciabarra <mi...@sciabarra.com>
AuthorDate: Fri Sep 4 19:58:15 2026 +0200

    reworked credentials
---
 .github/workflows/image.yml | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml
index f88ddcd..6849987 100644
--- a/.github/workflows/image.yml
+++ b/.github/workflows/image.yml
@@ -77,18 +77,27 @@ jobs:
             REGISTRY="ghcr.io"
           fi
           echo "REGISTRY=$REGISTRY" >> "$GITHUB_ENV"
+      - name: Select registry credentials
+        run: |
+          if [ "${REGISTRY%%/*}" = "ghcr.io" ]; then
+            echo "REGISTRY_USER=${{ github.actor }}" >> "$GITHUB_ENV"
+            echo "REGISTRY_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> "$GITHUB_ENV"
+          else
+            echo "REGISTRY_USER=${{ secrets.DOCKERHUB_USER }}" >> "$GITHUB_ENV"
+            echo "REGISTRY_TOKEN=${{ secrets.DOCKERHUB_TOKEN }}" >> "$GITHUB_ENV"
+          fi
       - name: Registry login
-        uses: docker/login-action@v4
+        uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
         with:
           registry: ${{ env.REGISTRY }}
-          username: ${{ secrets.DOCKERHUB_USER || github.repository_owner }}
-          password: ${{ secrets.DOCKERHUB_TOKEN || secrets.GITHUB_TOKEN }}
+          username: ${{ env.REGISTRY_USER }}
+          password: ${{ env.REGISTRY_TOKEN }}
       - name: Set up QEMU
-        uses: docker/setup-qemu-action@v4
+        uses: docker/setup-qemu-action@1f40c72289eff860ee54a304f1438e3cff362e0a # v4.3.0
         with:
           image: tonistiigi/binfmt:qemu-v7.0.0-28
       - name: Set up Docker Buildx
-        uses: docker/setup-buildx-action@v4
+        uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
       - name: Image
         run: task buildx PUSH=1 DEVCONTAINER_TAG=$IMG_TAG
 


(openserverless-devcontainer) 04/06: no force

Posted by ms...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sciabarracom pushed a commit to branch 0.9.0
in repository https://gitbox.apache.org/repos/asf/openserverless-devcontainer.git

commit b2e0f1163ade3f4a82345b206dcc1d29e617e6af
Author: Michele Sciabarra <mi...@sciabarra.com>
AuthorDate: Sat Sep 5 17:06:19 2026 +0200

    no force
---
 Taskfile.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Taskfile.yml b/Taskfile.yml
index 1d95102..a1f5881 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -102,7 +102,7 @@ tasks:
       Push the tags, starting the GitHub Actions build on the repo that received them.
       This does not build anything locally.
     cmds:
-      - git push --tags --force
+      - git push --tags
 
   buildx:
     desc: |