From f82904efac5523feef537286cfa57f0e1486d46d Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 27 Jan 2024 09:11:40 -0500 Subject: [PATCH] add openvscode server --- .forgejo/workflows/build.yaml | 22 ++++++++++++++++++++++ OpenVSCodeServer/Dockerfile | 12 ++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 OpenVSCodeServer/Dockerfile 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