Skip to content

Commit

Permalink
hopefully fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
manx52 committed Aug 28, 2024
1 parent d15b1d9 commit 65dfa98
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 10 deletions.
10 changes: 6 additions & 4 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.*
/docs/_build/
/docs/generated/
*.bag
cmake-build-debug
*.md
external
Expand All @@ -11,12 +14,11 @@ Dockerfile
docker-compose.*
bez1_description/meshes/*.stl
bez2_description/meshes/*.stl
bez3_description/meshes/*.stl
soccer_rlcontrol
soccer_fieldline_detection/media
soccerbot/bags/
soccerbot/bags/*
!soccerbot/bags/*.sh
LICENSE
venv/
*.webm
/soccer_perception/data/images/*
soccer_perception/data/images/*
soccer_perception/data/videos/*
28 changes: 28 additions & 0 deletions .github/workflows/docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,34 @@ jobs:
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache
sudo docker rmi $(docker image ls -aq) >/dev/null 2>&1 || true
sudo rm -rf \
/usr/share/dotnet /usr/local/lib/android /opt/ghc \
/usr/local/share/powershell /usr/share/swift /usr/local/.ghcup \
/usr/lib/jvm || true
echo "some directories deleted"
sudo apt install aptitude -y >/dev/null 2>&1
sudo aptitude purge aria2 ansible azure-cli shellcheck rpm xorriso zsync \
esl-erlang firefox gfortran-8 gfortran-9 google-chrome-stable \
google-cloud-sdk imagemagick \
libmagickcore-dev libmagickwand-dev libmagic-dev ant ant-optional kubectl \
mercurial apt-transport-https mono-complete libmysqlclient \
unixodbc-dev yarn chrpath libssl-dev libxft-dev \
libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev \
snmp pollinate libpq-dev postgresql-client powershell ruby-full \
sphinxsearch subversion mongodb-org azure-cli microsoft-edge-stable \
-y -f >/dev/null 2>&1
sudo aptitude purge google-cloud-sdk -f -y >/dev/null 2>&1
sudo aptitude purge microsoft-edge-stable -f -y >/dev/null 2>&1 || true
sudo apt purge microsoft-edge-stable -f -y >/dev/null 2>&1 || true
sudo aptitude purge '~n ^mysql' -f -y >/dev/null 2>&1
sudo aptitude purge '~n ^php' -f -y >/dev/null 2>&1
sudo aptitude purge '~n ^dotnet' -f -y >/dev/null 2>&1
sudo apt-get autoremove -y >/dev/null 2>&1
sudo apt-get autoclean -y >/dev/null 2>&1
echo "some packages purged"
sudo docker system prune -a
df -h
- uses: actions/checkout@v4
with:
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ RUN apt-get update && apt-fast install -y --no-install-recommends \
protobuf-compiler \
libprotobuf-dev \
libjpeg9-dev \
libjpeg8-dev \
wget \
ccache \
dirmngr \
Expand Down Expand Up @@ -74,8 +75,6 @@ RUN if [[ "$INSTALL_CUDA" == "true" ]] ; then \

RUN if [[ "$INSTALL_CUDA" == "true" ]] ; then DEBIAN_FRONTEND=noninteractive apt-fast -yq --no-install-recommends install cuda libcudnn9-cuda-12 libcudnn9-dev-cuda-12 libnccl2 libnccl-dev; fi

RUN pip install --no-cache-dir --upgrade pip Cython pybullet

# TODO redo docker for jetson
RUN if [[ "$(dpkg --print-architecture)" == "arm64" ]] ; then \
apt-get update && \
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ pygame~=2.5.0
ultralytics~=8.2.82

# Control
pin==2.7.0
pin~=2.7.0
placo~=0.6.2
pybullet~=3.2.5
mujoco~=3.2.0
pybullet~=3.2.5; platform_machine == 'x86_64'
mujoco~=3.2.0; platform_machine == 'x86_64'

# object detection
requests==2.32.03
Expand All @@ -35,7 +35,7 @@ mypy-extensions~=1.0.0
Cython~=3.0.10
PyYAML~=6.0.1
argparse~=1.4.0
open3d~=0.17.0
open3d~=0.17.0; platform_machine == 'x86_64'

empy~=3.3.4

Expand Down

0 comments on commit 65dfa98

Please sign in to comment.