repo created
This commit is contained in:
14
.gitea/workflows/docker-image.code-server.yml
Normal file
14
.gitea/workflows/docker-image.code-server.yml
Normal 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
|
||||
17
docker/DockerFile
Normal file
17
docker/DockerFile
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user