-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
executable file
·84 lines (78 loc) · 1.66 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
FROM debian:unstable-slim
# START COMMON
MAINTAINER Marlon Beijer "marlon@amigadev.com"
COPY deps /tmp/deps
RUN apt update \
&& apt upgrade -y \
&& apt install -y \
genisoimage \
rsync \
wget \
curl \
git \
make \
ninja-build \
automake \
nano \
autoconf \
pkg-config \
bsdmainutils \
zip \
unzip \
gawk \
bison \
flex\
netpbm \
cmake \
gperf \
gettext \
texinfo\
python3 \
python3-mako \
python3-pip \
g++ \
gcc \
gdb \
build-essential \
libtool \
zlib1g-dev \
zlib1g \
libpng-dev \
libx11-dev \
libxcursor-dev \
libgl1-mesa-dev \
libgmpxx4ldbl \
libgmp-dev \
libmpfr6 \
libmpfr-dev \
libmpc3 \
libmpc-dev \
libncurses-dev \
libswitch-perl \
libasound2-dev \
libsdl1.2-dev \
xutils-dev \
locales \
golang \
sudo \
&& apt autoremove -y \
&& apt clean \
&& rm -rf /var/lib/apt/lists/* \
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \
&& git config --global user.email "you@example.com" \
&& git config --global user.name "Your Name" \
&& ln -s /usr/bin/genisoimage /usr/local/bin/mkisofs \
&& /tmp/deps/lha \
&& /tmp/deps/ilbmtoicon \
&& /tmp/deps/flexcat \
&& rm -rf /tmp/deps \
&& cd / \
&& pip3 install --break-system-packages cython \
&& pip3 install --break-system-packages -U git+https://github.com/cnvogelg/amitools.git \
&& GOPATH=/usr/local go install github.com/github-release/github-release@latest
RUN echo "root:root" | chpasswd
RUN useradd -rm -d /home/jenkins -s /bin/bash -g root -G sudo -u 1001 jenkins
RUN echo 'jenkins:jenkins' | chpasswd
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
ENV LANG en_US.utf8
WORKDIR /work