-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
1 deletion.
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,29 @@ | ||
FROM debian:latest | ||
|
||
#### Dependencies #### | ||
RUN \ | ||
apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
build-essential \ | ||
gcc \ | ||
pkg-config \ | ||
software-properties-common \ | ||
git man unzip wget curl cmake \ | ||
ninja-build zip zlib1g zlib1g-dev autoconf autoconf-archive \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
#### BUILD #### | ||
WORKDIR /root | ||
RUN \ | ||
git clone https://github.com/spinicist/riesling.git \ | ||
&& cd riesling \ | ||
&& export VCPKG_FORCE_SYSTEM_BINARIES=0 \ | ||
&& ./bootstrap.sh -i $PWD/../ -f native \ | ||
&& cd .. \ | ||
&& rm -rf riesling .cache | ||
|
||
RUN mkdir /root/app | ||
WORKDIR /root/app | ||
|
||
# Define default command. | ||
ENTRYPOINT ["/root/bin/riesling"] |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash -eux | ||
#!/bin/bash -eu | ||
|
||
USAGE="Usage: $0 [options] | ||
|