-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (28 loc) · 785 Bytes
/
Dockerfile
File metadata and controls
35 lines (28 loc) · 785 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
from ubuntu:20.04
env DEBIAN_FRONTEND=noninteractive
run apt update --fix-missing && apt install -y \
build-essential \
curl \
git \
libssl-dev \
libz-dev \
lsb-release \
pkg-config \
ruby-bundler \
ruby-dev \
software-properties-common \
sudo \
wget
run curl -fsSL https://apt.llvm.org/llvm.sh | bash /dev/stdin 16
run useradd -mG sudo penguin
run echo '%sudo ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
user penguin
workdir /home/penguin
shell ["bash", "-lc"]
run git clone https://github.com/Homebrew/brew ~/.homebrew
run ~/.homebrew/bin/brew shellenv >> ~/.profile
run brew info hello
run curl -fsSL https://sh.rustup.rs | sh /dev/stdin -y
run cargo install mdbook sccache turtle-build
env LLVM_SYS_160_PREFIX=/usr/lib/llvm-16
env PATH="/usr/lib/llvm-16/bin:$PATH"