Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
makotoyoshigoe committed Nov 22, 2024
1 parent 4ccd723 commit cfbcdeb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ jobs:
run: |
cd ~/
git clone -b mugimaru-2024 https://github.com/CIT-Autonomous-Robot-Lab/mugimaru-docker.git
- name: Clone requirements packages
- name: Clone requirements packages and build image
run: |
sed -i "s;[email protected]:;https://github.com/;" install_packages.bash
./install_packages.bash
- name: Docker image build
run: |
./build.sh
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ RUN echo $TZ > /etc/timezone && \
USER $USERNAME
WORKDIR /home/$USERNAME

COPY gnss_driver_ws/ /home/$USERNAME/
COPY gnss_driver_ws/ /home/$USERNAME/gnss_driver_ws/
COPY setup.sh /home/$USERNAME/
RUN . /home/$USERNAME/setup.sh
# RUN . /home/$USERNAME/setup.sh

CMD ["/bin/bash"]
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
docker build --build-arg USERNAME=$USER \
--build-arg UID_AND_GID=$(id -u $USER) \
-t mugimaru:latest .
-t test:latest .

0 comments on commit cfbcdeb

Please sign in to comment.