removed code-server docker
All checks were successful
deploy host / build-runner (push) Successful in 3m34s
All checks were successful
deploy host / build-runner (push) Successful in 3m34s
This commit is contained in:
@@ -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
|
|
||||||
|
|
||||||
|
|
||||||
@@ -54,13 +54,12 @@ All configuration is set during docker build.
|
|||||||
|
|
||||||
### code-server
|
### 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
|
- docker-cli
|
||||||
- ansible
|
- ansible
|
||||||
- ansible-lint
|
- ansible-lint
|
||||||
|
|
||||||
|
|
||||||
For more flexibility on bind mount, stack is maintained directly on portainer (stack name: code-server).
|
For more flexibility on bind mount, stack is maintained directly on portainer (stack name: code-server).
|
||||||
|
|
||||||
docker-compose.yml example.
|
docker-compose.yml example.
|
||||||
@@ -70,7 +69,7 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
code-server:
|
code-server:
|
||||||
container_name: code
|
container_name: code
|
||||||
image: myInfra/code-server:latest
|
image: git.limbosolutions.com/kb/code-server:latest
|
||||||
environment:
|
environment:
|
||||||
- PUID=0
|
- PUID=0
|
||||||
- PGID=0
|
- PGID=0
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|
||||||
@@ -1,3 +1,2 @@
|
|||||||
FROM catthehacker/ubuntu:act-latest
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user