removed code-server docker
All checks were successful
deploy host / build-runner (push) Successful in 3m34s

This commit is contained in:
2024-09-01 23:09:11 +01:00
parent 36fdb1a366
commit 9c8da9ab4a
4 changed files with 3 additions and 46 deletions

View File

@@ -1,24 +0,0 @@
on:
push:
paths:
- "services/code-server/*"
- ".gitea/workflows/**code-server**.yml"
jobs:
build-docker-image:
runs-on: homesrv01
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: code-server - build docker image
shell: bash
run: |
docker build ${{gitea.workspace}}/services/code-server --tag myInfra/code-server

View File

@@ -54,13 +54,12 @@ All configuration is set during docker build.
### code-server
Using [custom code-server docker image](./services/code-server/Dockerfile). Deployed by gitea [action](./.gitea/workflows/services.code-server.yml) and includes:
Using [custom code-server docker image](/kb/code-server/), includes:
- docker-cli
- ansible
- ansible-lint
For more flexibility on bind mount, stack is maintained directly on portainer (stack name: code-server).
docker-compose.yml example.
@@ -70,7 +69,7 @@ version: '3'
services:
code-server:
container_name: code
image: myInfra/code-server:latest
image: git.limbosolutions.com/kb/code-server:latest
environment:
- PUID=0
- PGID=0

View File

@@ -1,17 +0,0 @@
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

View File

@@ -1,3 +1,2 @@
FROM catthehacker/ubuntu:act-latest
RUN apt-get update && apt install software-properties-common && add-apt-repository --yes --update ppa:ansible/ansible && apt-get install -y ansible
RUN apt-get update && apt install software-properties-common && add-apt-repository --yes --update ppa:ansible/ansible && apt-get install -y ansible