initial commit

This commit is contained in:
ale 2020-05-29 17:37:29 +02:00
commit 6ec12a8a8f
3 changed files with 38 additions and 0 deletions

19
README.md Normal file
View 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
View 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
View 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"]