Skip to content

Commit

Permalink
Add Dockerfile. Thanks Emil!
Browse files Browse the repository at this point in the history
  • Loading branch information
spinicist committed Aug 24, 2023
1 parent 1241a07 commit 0740143
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions Dockerfile
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"]
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -eux
#!/bin/bash -eu

USAGE="Usage: $0 [options]
Expand Down

0 comments on commit 0740143

Please sign in to comment.