add openvscode server
This commit is contained in:
parent
d06b939ea9
commit
f82904efac
2 changed files with 34 additions and 0 deletions
|
@ -49,3 +49,25 @@ jobs:
|
||||||
file: ./PyZipline/Dockerfile
|
file: ./PyZipline/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: coastalcommits.com/seaswimmerthefsh/actionscontainers-pyzipline:latest
|
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
|
||||||
|
|
12
OpenVSCodeServer/Dockerfile
Normal file
12
OpenVSCodeServer/Dockerfile
Normal file
|
@ -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
|
Loading…
Reference in a new issue