Skip to content

Commit

Permalink
without cache
Browse files Browse the repository at this point in the history
  • Loading branch information
woensug-choi committed Jun 11, 2024
1 parent bb66e2b commit 9714ffe
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ioes-hardware.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Publish a Docker image (ARM64; Apple Silicon)
name: IOES-Hardware - Publish a Docker image (ARM64; Apple Silicon)

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -52,6 +52,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
file: docker-compose/ioes-hardware.dockerfile
platforms: linux/arm64/v8
no-cache: true
build-args: |
ROS_DISTRO=${{ env.ROS_DISTRO }}
BRANCH=${{ env.BRANCH }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ioes-simulator.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Publish a Docker image (ARM64; Apple Silicon)
name: IOES-Simulator - Publish a Docker image (ARM64; Apple Silicon)

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -52,6 +52,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
file: docker-compose/ioes-simulator.dockerfile
platforms: linux/arm64/v8
no-cache: true
build-args: |
ROS_DISTRO=${{ env.ROS_DISTRO }}
BRANCH=${{ env.BRANCH }}
Expand Down
9 changes: 5 additions & 4 deletions docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
services:
hardware:
build:
context: ./ # 도커파일 폴더
dockerfile: ioes-hardware.dockerfile
image: ioes-hardware:latest
# build:
# context: ./ # 도커파일 폴더
# dockerfile: ioes-hardware.dockerfile
# image: ioes-hardware:latest
image: ioeslab/ioes-hardware:latest
command: /bin/bash
tty: true

Expand Down
3 changes: 3 additions & 0 deletions docker-compose/ioes-hardware.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ RUN apt-get update && apt-get install -y \
ros-humble-demo-nodes-py && \
rm -rf /var/lib/apt/lists/*

# Ardupilot installation


# setup entrypoint
COPY ./ros_entrypoint.sh /
RUN chmod +x /ros_entrypoint.sh
Expand Down

0 comments on commit 9714ffe

Please sign in to comment.