Compare commits

..
8 Commits
Author SHA1 Message Date
marc 7896df41cd better build 2021-12-17 15:06:51 +01:00
marc 718a127ef3 known hosts 2021-12-13 17:15:44 +01:00
marc 1ff8e36234 ssh config 2021-12-13 17:14:31 +01:00
marc 18c602245e docker-compose 2021-12-13 16:45:34 +01:00
marc 37a61266f7 ssh 2021-12-13 16:41:26 +01:00
marc 55a16089c2 docker-compose + Dockerfile that work 2021-11-26 15:46:00 +01:00
marc 80ac5292b4 dockerfile 2021-11-26 15:41:27 +01:00
marc 5fb3a107ae docker-compose for using mongo with no dependencies by bind mouting the x11 server 2021-11-26 15:32:00 +01:00
2 changed files with 42 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
FROM debian
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends --fix-missing\
libgl-dev \
qt5dxcb-plugin \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/
ADD https://download-test.robomongo.org/linux/robo3t-1.3.1-linux-x86_64-7419c406.tar.gz /opt/robo3t.tar.gz
RUN cd /opt/ \
&& mkdir robo3t \
&& tar -C /opt/robo3t --strip-components 1 -xzf robo3t.tar.gz && rm robo3t.tar.gz \
&& ls /opt/robo3t
VOLUME /root/.3T
VOLUME /root/.config/3T
RUN apt update && apt upgrade -y && apt autoremove -y
RUN apt install openssh-client -y
CMD /opt/robo3t/bin/robo3t
+18
View File
@@ -0,0 +1,18 @@
version: "3.9"
services:
robo3t:
image: robo3t
build:
context: .
dockerfile: ./Dockerfile
network: host
network_mode: host
environment:
- DISPLAY=${DISPLAY}
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- $HOME/.3T:/root/.3T
- $HOME/.config/.3T:/root/.config/.3T
- $HOME/.ssh/id_rsa:/root/.ssh/id_rsa
- $HOME/.ssh/config:/root/.ssh/config
- $HOME/.ssh/known_hosts:/root/.ssh/known_hosts