Skip to content

Commit a6c5a47

Browse files
committed
Update dockerfile
1 parent f247aaf commit a6c5a47

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/Dockerfile.humble_RA

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ WORKDIR /home/ws
3535
RUN /bin/bash -c "source /home/drones_ws/install/setup.bash"
3636
RUN /bin/bash -c "source /opt/ros/humble/setup.bash; colcon build --symlink-install"
3737

38+
# Compress commons
39+
WORKDIR /RoboticsAcademy/
40+
RUN cd /RoboticsAcademy/common && cd console_interfaces && zip -r ../common.zip console_interfaces/ && cd .. && cd gui_interfaces && zip -r -u ../common.zip gui_interfaces/ && cd .. && cd hal_interfaces && zip -r -u ../common.zip hal_interfaces/ && cd ../.. && mv common/common.zip react_frontend/src/common.zip
41+
3842
# build react_fronted
3943
RUN cd /RoboticsAcademy/react_frontend/ && yarn install && yarn run build
4044

0 commit comments

Comments
 (0)