Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 changes: 18 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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