-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (25 loc) · 923 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM ubuntu:18.04
ENV LANG=C.UTF-8
RUN set -ex; \
apt-get update; \
apt-get install -y --no-install-recommends \
# Install GNU Forth Language Environment 0.7.3
# https://packages.ubuntu.com/bionic/gforth
gforth \
wget \
ca-certificates \
; \
rm -rf /var/lib/apt/lists/*;
RUN set -ex; \
useradd --create-home codewarrior; \
mkdir /workspace; \
chown codewarrior:codewarrior /workspace;
USER codewarrior
ENV USER=codewarrior \
HOME=/home/codewarrior
WORKDIR /workspace
# Testest Forth test framework
RUN wget -q https://raw.githubusercontent.com/codewars/ttester-codewars/v1.1.2/preamble.4th
RUN wget -q https://raw.githubusercontent.com/codewars/ttester-codewars/v1.1.2/protect.4th
RUN wget -q https://raw.githubusercontent.com/codewars/ttester-codewars/v1.1.2/prepare.4th
RUN wget -q https://raw.githubusercontent.com/codewars/ttester-codewars/v1.1.2/testest.4th