Skip to content

Commit

Permalink
Dockerfile: Add flathub-hooks to image
Browse files Browse the repository at this point in the history
  • Loading branch information
jameswestman authored and barthalion committed Feb 7, 2023
1 parent ed4905c commit 14b2834
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh && \
ADD . /src
RUN cd /src && /root/.cargo/bin/cargo build --release

RUN git clone https://github.com/jameswestman/flathub-hooks.git
RUN cd flathub-hooks && /root/.cargo/bin/cargo build --release

FROM ubuntu:22.04

RUN apt-get update && apt-get install -y flatpak ostree libpq5 ca-certificates && \
Expand All @@ -17,6 +20,7 @@ RUN chmod +x /usr/local/bin/catatonit

COPY --from=builder /src/target/release/flat-manager /usr/local/bin/flat-manager
COPY --from=builder /src/target/release/delta-generator-client /usr/local/bin/delta-generator-client
COPY --from=builder /flathub-hooks/target/release/flathub-hooks /usr/local/bin/flathub-hooks

ENV RUST_BACKTRACE=1

Expand Down

0 comments on commit 14b2834

Please sign in to comment.