-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathDockerfile
28 lines (25 loc) · 829 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
FROM rust:1
# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Configure apt and install packages
RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \
#
# Verify git, needed tools installed
&& apt-get -y install git iproute2 procps lsb-release \
#
# Install other dependencies
&& apt-get install -y lldb \
#
# Install Rust components
&& rustup update \
&& rustup component add rls rust-analysis rust-src rustfmt clippy \
&& rustup toolchain install nightly \
&& rustup default nightly \
#
# Install Ruby
&& apt-get install -y rbenv \
&& echo 'eval "$(rbenv init -)"' >> ~/.bash_profile \
&& git clone https://github.com/sisshiki1969/ruruby.git
# Switch back to dialog for any ad-hoc use of apt-get
ENV DEBIAN_FRONTEND=