Skip to content

Commit

Permalink
Apply patch to build latest runc
Browse files Browse the repository at this point in the history
  • Loading branch information
ejose19 committed Feb 25, 2021
1 parent 5cf1422 commit 0450e1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: docker/setup-buildx-action@v1
with:
version: latest
driver-opts: image=moby/buildkit:latest
- name: Read info
id: tags
shell: bash
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ WORKDIR /app

COPY ../ .

# Required by buildx as some files are read-only (see https://github.com/moby/buildkit/issues/1267#issuecomment-769880570)
RUN sed -i "s/#\(IgnorePkg =\)/\1 filesystem/" /etc/pacman.conf
# Use a more reliable gpg server (see https://wiki.archlinux.org/index.php/Pacman/Package_signing#Change_keyserver)
RUN echo "keyserver hkp://keyserver.ubuntu.com" >> /etc/pacman.d/gnupg/gpg.conf

RUN pacman -Sy --noconfirm archlinux-keyring
RUN pacman -Su --noconfirm rust
RUN ls -la
RUN ./dist

0 comments on commit 0450e1b

Please sign in to comment.