Skip to content

Commit

Permalink
docker: update for feature changes and new libadwaita dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
misson20000 committed Aug 4, 2024
1 parent 9cb2103 commit 396b26a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/release/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ENV DEBIAN_FRONTEND=noninteractive
# Update and install required dependencies
RUN apt-get update && apt-get install -y \
libgtk-4-dev \
libadwaita-1-dev \
libgdk-pixbuf2.0-dev \
libatk1.0-dev \
libcairo2-dev \
Expand All @@ -32,10 +33,10 @@ RUN git clone https://github.com/misson20000/charm.git /charm
WORKDIR /charm

# Build the repo using Cargo in release mode
RUN cargo build --release -F gtk
RUN cargo build --release

# Output the resulting build file
CMD ["sh", "-c", "cp -r /charm/target/* /output && ls /output"]
CMD ["sh", "-c", "cp -r /charm/target/charm /output && ls /output"]

# Set the output directory
VOLUME ["/output"]

0 comments on commit 396b26a

Please sign in to comment.