File: Dockerfile

package info (click to toggle)
mlton 20241230%2Bgit20251029%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 60,164 kB
  • sloc: ansic: 27,779; sh: 4,466; asm: 3,569; lisp: 2,841; makefile: 2,395; perl: 1,169; python: 191; pascal: 68; ruby: 64
file content (15 lines) | stat: -rw-r--r-- 438 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM ubuntu:latest

# Install the dependencies. We'll use the ubuntu provided mlton to bootstrap our local build.
RUN apt-get update -qq \
 && apt-get install -qq git build-essential libgmp-dev mlton mlton-tools

# Copy the current directory (MLton source root) to a location within the container & move there
COPY . /root/mlton
WORKDIR /root/mlton

# Build from source & install
RUN make \
 && make install

ENTRYPOINT ["make", "check"]