-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
45 lines (37 loc) · 864 Bytes
/
Dockerfile
File metadata and controls
45 lines (37 loc) · 864 Bytes
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
FROM debian:10-slim
RUN set -eu; \
apt-get update; \
apt-get install -y --no-install-recommends \
ca-certificates \
wget \
gcc \
g++ \
libc6-dev \
bash \
perl \
m4 \
xz-utils \
lbzip2 \
make;
RUN set -eu; \
apt-get install -y \
git \
vim \
grub \
xorriso;
RUN set -eu; \
git clone https://github.com/axfab/kora-disto /app
# WORKDIR /i386-kora
RUN set -eu; \
/app/disto.sh header; \
/app/resx/toolchain/build-gcc.sh --prefix=/i386-kora --target=i386-kora \
rm -rf sources/ build-i386-kora/ ;
WORKDIR /app
# CMD ["/bin/bash"]
# COPY . /app
# RUN /app/resx/toolchain/build-gcc.sh --prefix=/usr/local
# cat > .bashrc << EOF
# alias ls='ls --color=auto'
# PS1='\e[31m\u\e[0m@\e[36m\h\e[0m:\w# '
# EOF
# . .bashrc