-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
and modified the project such that it does work
- Loading branch information
Showing
7 changed files
with
58 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
target/ | ||
.git/ | ||
example.png | ||
|
||
Dockerfile | ||
.dockerignore | ||
docker-compose.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM rust:1.56 as builder | ||
WORKDIR /usr/src/vicsek | ||
COPY . . | ||
RUN cargo build --release | ||
|
||
FROM debian:bullseye-slim | ||
# FIXME: there is not really a qt5 dependency, but this pulls in everything we need | ||
# and I did not yet figure out what exactly we do need | ||
RUN apt-get update && apt-get install -y libqt5gui5 && rm -rf /var/lib/apt/lists/* | ||
COPY --from=builder /usr/src/vicsek/target/release/vicsek /usr/local/bin/vicsek | ||
ENTRYPOINT ["vicsek"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: "3" | ||
|
||
services: | ||
app: | ||
build: . | ||
environment: | ||
- DISPLAY=${DISPLAY} | ||
volumes: | ||
- /tmp/.X11-unix:/tmp/.X11-unix | ||
network_mode: host |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters