initial commit
This commit is contained in:
commit
6ec12a8a8f
19
README.md
Normal file
19
README.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# wahay docker
|
||||||
|
|
||||||
|
## RUN
|
||||||
|
|
||||||
|
Needs `docker` and `docker-compose`
|
||||||
|
|
||||||
|
### Enable local perm X11 to docker
|
||||||
|
```
|
||||||
|
xhost +"local:docker@"
|
||||||
|
```
|
||||||
|
|
||||||
|
### Execute with compose
|
||||||
|
```
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
### License
|
||||||
|
|
||||||
|
MIT
|
11
docker-compose.yml
Normal file
11
docker-compose.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
version: "2"
|
||||||
|
|
||||||
|
services:
|
||||||
|
wahay:
|
||||||
|
build: ./wahay
|
||||||
|
hostname: wahay
|
||||||
|
container_name: wahay
|
||||||
|
environment:
|
||||||
|
- DISPLAY
|
||||||
|
volumes:
|
||||||
|
- /tmp/.X11-unix:/tmp/.X11-unix:ro
|
8
wahay/Dockerfile
Normal file
8
wahay/Dockerfile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
FROM golang
|
||||||
|
RUN apt update && apt upgrade -y && apt install -y curl lsb-release dirmngr
|
||||||
|
RUN curl -s https://dl.autonomia.digital/debian/keys.asc | apt-key add -
|
||||||
|
RUN echo deb https://dl.autonomia.digital/debian $(lsb_release -c | cut -f 2) main | tee /etc/apt/sources.list.d/wahay.list
|
||||||
|
RUN echo deb-src https://dl.autonomia.digital/debian $(lsb_release -c | cut -f 2) main | tee -a /etc/apt/sources.list.d/wahay.list
|
||||||
|
RUN apt update && apt install -y wahay
|
||||||
|
ENTRYPOINT ["wahay"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user