repo created

This commit is contained in:
2024-09-01 15:16:40 +01:00
commit 7ae82d19f3
3 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
on:
push:
paths:
- "docker/**"
- ".gitea/workflows/**code-server**.yml"
jobs:
build-docker-image:
runs-on: ubuntu:latest
steps:
- name: Checkout code
uses: actions/checkout@v2

0
README.md Normal file
View File

17
docker/DockerFile Normal file
View File

@@ -0,0 +1,17 @@
FROM lscr.io/linuxserver/code-server:latest
RUN apt-get update -y
RUN apt-get update -y \
&& apt install -y software-properties-common ca-certificates curl software-properties-common \
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \
&& add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" \
&& add-apt-repository --yes --update ppa:ansible/ansible \
&& apt-get update -y \
&& apt-get install -y python3 \
&& apt-get install -y python3-pip \
&& apt-get install -y ansible \
&& apt-get install -y docker-ce \
&& pip3 install ansible-lint --break-system-packages \
&& pip3 install ansible-creator --no-input --break-system-packages