diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 84c120f..840393c 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -49,3 +49,25 @@ jobs: file: ./PyZipline/Dockerfile push: true tags: coastalcommits.com/seaswimmerthefsh/actionscontainers-pyzipline:latest + + Build OpenVSCodeServer: + runs-on: docker + container: catthehacker/ubuntu:act-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + token: ${{ secrets.COASTALCOMMITSTOKEN }} + - name: Login to CoastalCommits + uses: actions/docker-login@v3 + with: + registry: coastalcommits.com + username: SeaswimmerTheFsh + password: ${{ secrets.COASTALCOMMITSTOKEN }} + - name: Build and push Docker image + uses: actions/docker-build-push@v5 + with: + context: . + file: ./OpenVSCodeServer/Dockerfile + push: true + tags: coastalcommits.com/seaswimmerthefsh/openvscode-server:latest diff --git a/OpenVSCodeServer/Dockerfile b/OpenVSCodeServer/Dockerfile new file mode 100644 index 0000000..03d879d --- /dev/null +++ b/OpenVSCodeServer/Dockerfile @@ -0,0 +1,12 @@ +FROM gitpod/openvscode-server:latest + +# Install APT packages +RUN apt-get update +RUN apt-get install -y \ + python3.11 \ + python3.11-dev \ + python3.11-venv \ + python3-pip + +# Install Poetry +RUN python3.11 -m pip install poetry