Skip to content

Commit

Permalink
fix(ci): adjust Dockerfiles and ci.yml to fix GitHub Actions build er…
Browse files Browse the repository at this point in the history
…rors
  • Loading branch information
bouassaba committed Jun 13, 2024
1 parent 647e78f commit 800a786
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 50 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64, amd64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand All @@ -43,11 +38,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64, amd64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand Down Expand Up @@ -75,11 +65,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64, amd64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand All @@ -106,11 +91,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64, amd64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand All @@ -137,11 +117,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64, amd64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand All @@ -168,11 +143,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64, amd64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand All @@ -199,11 +169,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64, amd64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand All @@ -230,11 +195,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64, amd64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand Down
1 change: 1 addition & 0 deletions conversion/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN go build -o voltaserve-conversion

FROM mcr.microsoft.com/playwright:jammy AS runner

RUN add-apt-repository universe
RUN apt-get update

RUN apt-get install -y \
Expand Down
11 changes: 1 addition & 10 deletions language/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,7 @@ COPY . .

RUN apt-get update

RUN apt-get install -y curl build-essential

RUN apt-get update && \
apt-get install -y curl && \
curl https://sh.rustup.rs -sSf | sh -s -- -y && \
/root/.cargo/bin/rustup default stable

RUN curl -sSL https://install.python-poetry.org | python3 -

ENV PATH="/root/.cargo/bin:/root/.local/bin:${PATH}"
RUN apt-get install -y curl build-essential python3-poetry rust-all

RUN poetry install --no-root

Expand Down

0 comments on commit 800a786

Please sign in to comment.