We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bc77af commit 2d88946Copy full SHA for 2d88946
1 file changed
Dockerfile
@@ -0,0 +1,24 @@
1
+FROM ubuntu:latest
2
+
3
+RUN DEBIAN_FRONTEND="noninteractive" apt-get update -qy &&\
4
+ DEBIAN_FRONTEND="noninteractive" apt-get install haskell-platform haskell-stack git-all -qy &&\
5
+ git clone https://github.com/pmbittner/FeatureTraceRecording.git /data/source &&\
6
+ cd /data/source &&\
7
+ git checkout ArtefactSubmission
8
9
+WORKDIR /data/source
10
+RUN stack update
11
+RUN stack upgrade
12
13
+## Enable colours in terminal
14
+ENV TERM="xterm-256color"
15
+## Enable printing utf-8 colours
16
+ENV LANG=C.UTF-8
17
+RUN stack build --copy-bins
18
19
+## this must be set after stack build to ensure the folder exists
20
+ENV PATH=="/root/.local/bin:${PATH}"
21
22
+RUN echo "\n\n### DONE ###\n\n"
23
24
+CMD stack run
0 commit comments