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
31 changes: 31 additions & 0 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
FROM robotlocomotion/drake:1.35.0

ENV WORKSPACE /root/workspace

# build essentials
RUN apt update && \
apt install -y curl build-essential git && \
apt install -y libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev curl git \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev \
liblzma-dev && \
apt install -y software-properties-common libtbb-dev && \
apt install -y libeigen3-dev python3.10-venv ffmpeg \
clangd-12 wget lsb-release cmake libboost-all-dev gdb python3-dbg && \
update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-12 100

RUN curl https://pyenv.run | bash
ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:$PATH"

RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH="/root/.local/bin:$PATH"

RUN pyenv global system && \
pyenv install 3.10.12 && \
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc && \
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc && \
echo 'eval "$(pyenv init - bash)"' >> ~/.bashrc



WORKDIR $WORKSPACE
10 changes: 5 additions & 5 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[submodule "scalable_real2sim/robot_payload_id"]
path = scalable_real2sim/robot_payload_id
url = git@github.com:nepfaff/robot_payload_id.git
url = https://github.com/nepfaff/robot_payload_id.git
[submodule "scalable_real2sim/neuralangelo"]
path = scalable_real2sim/neuralangelo
url = git@github.com:evelyn-fu/neuralangelo.git
url = https://github.com/evelyn-fu/neuralangelo.git
branch = object_masking
[submodule "scalable_real2sim/Frosting"]
path = scalable_real2sim/Frosting
url = git@github.com:nepfaff/Frosting.git
url = https://github.com/nepfaff/Frosting.git
[submodule "scalable_real2sim/BundleSDF"]
path = scalable_real2sim/BundleSDF
url = git@github.com:nepfaff/BundleSDF.git
url = https://github.com/nepfaff/BundleSDF.git
[submodule "scalable_real2sim/pickplace_data_collection"]
path = scalable_real2sim/pickplace_data_collection
url = git@github.com:evelyn-fu/pickplace_data_collection.git
url = https://github.com/evelyn-fu/pickplace_data_collection.git
27 changes: 27 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
services:
real2sim_drake:
image: real2sim_drake
container_name: real2sim_drake
build:
context: .
dockerfile: .docker/Dockerfile
environment:
- DISPLAY=${DISPLAY}
- QT_X11_NO_MITSHM=1
- TERM=xterm-256-color
volumes:
- /tmp/.X11-unix:/tml/.X11-unix:rw
- ${XAUTHORITY:-$HOME/.Xauthority}:/root/.Xauthority
- ./:/root/workspace/
- /home/$(whoami)/.ssh:/root/.ssh
tty: true
stdin_open: true
network_mode: "host"
privileged: true
ulimits:
rtprio: 70
rttime: -1
memlock: 8428281856
devices:
- "/dev:/dev"
command: /bin/bash