Skip to content

Commit

Permalink
Revert "install virtiofsd from ubuntu repository"
Browse files Browse the repository at this point in the history
This reverts commit e1c7fe4.
  • Loading branch information
stlankes committed Oct 6, 2024
1 parent b360d3f commit c1dc525
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,15 @@ jobs:
- name: Create dockerfile for Ubuntu
run: |
cat << END > Dockerfile
FROM rust:bookworm as builder
RUN apt update
RUN apt install -y --no-install-recommends libcap-ng-dev libseccomp-dev
RUN cargo install --git https://gitlab.com/virtio-fs/virtiofsd.git
FROM ubuntu:latest
RUN apt update
RUN apt install -y --no-install-recommends libcap-ng0 libseccomp2 qemu-system-x86 net-tools rust-virtiofsd
RUN apt install -y --no-install-recommends libcap-ng0 libseccomp2 qemu-system-x86 net-tools
COPY --from=builder /usr/local/cargo/bin/virtiofsd /usr/bin/virtiofsd
RUN chmod 0755 /usr/bin/virtiofsd
END
- name: Build and push container
uses: docker/build-push-action@v6
Expand Down

0 comments on commit c1dc525

Please sign in to comment.