Skip to content

Commit

Permalink
install virtiofsd from ubuntu repository
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Oct 6, 2024
1 parent 3dc8602 commit e1c7fe4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,9 @@ 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
COPY --from=builder /usr/local/cargo/bin/virtiofsd /usr/bin/virtiofsd
RUN chmod 0755 /usr/bin/virtiofsd
RUN apt install -y --no-install-recommends libcap-ng0 libseccomp2 qemu-system-x86 net-tools rust-virtiofsd
END
- name: Build and push container
uses: docker/build-push-action@v6
Expand Down

0 comments on commit e1c7fe4

Please sign in to comment.