Adding Dockerfile 🐳

Adding a basic Dockerfile for running sampler. A config must still be provided.
This commit is contained in:
Trevor Sullivan 2020-11-20 09:31:55 -07:00 committed by GitHub
parent 1af22f6bfd
commit 0cfcb454af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM ubuntu:focal
ENV Sampler=/usr/local/bin/sampler
RUN apt-get update && apt-get upgrade --yes && apt-get install libasound-dev wget --yes \
&& wget https://github.com/sqshq/sampler/releases/download/v1.1.0/sampler-1.1.0-linux-amd64 -O $Sampler \
&& chmod +x $Sampler
ENTRYPOINT ["sampler"]