2
2
# Copyright (c) Microsoft Corporation. All rights reserved.
3
3
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
4
4
# -------------------------------------------------------------------------------------------------------------
5
- FROM mcr.microsoft.com/oryx/build:vso-focal-20220120 .1 as kitchensink
5
+ FROM mcr.microsoft.com/oryx/build:vso-focal-20220429 .1 as kitchensink
6
6
7
7
ARG USERNAME=codespace
8
8
ARG USER_UID=1000
@@ -30,13 +30,11 @@ ENV SHELL=/bin/bash \
30
30
RAILS_DEVELOPMENT_HOSTS=".githubpreview.dev" \
31
31
GOROOT="/usr/local/go" \
32
32
GOPATH="/go" \
33
- CARGO_HOME="/usr/local/cargo" \
34
- RUSTUP_HOME="/usr/local/rustup" \
35
33
SDKMAN_DIR="/usr/local/sdkman" \
36
34
JUPYTERLAB_PATH="${HOMEDIR}/.local/bin" \
37
35
DOCKER_BUILDKIT=1
38
36
39
- ENV PATH="${NVM_DIR}/current/bin:${NPM_GLOBAL}/bin:${ORIGINAL_PATH}:${DOTNET_ROOT}:${DOTNET_ROOT}/tools:${SDKMAN_DIR}/bin:${SDKMAN_DIR}/candidates/gradle/current/bin:${SDKMAN_DIR}/candidates/java/current/bin:/opt/maven/lts:${CARGO_HOME}/bin:${ GOROOT}/bin:${GOPATH}/bin:${PIPX_BIN_DIR}:/opt/conda/condabin:${JAVA_ROOT}/current/bin:${NODE_ROOT}/current/bin:${PHP_ROOT}/current/bin:${PYTHON_ROOT}/current/bin:${RUBY_ROOT}/current/bin:${MAVEN_ROOT}/current/bin:${HUGO_ROOT}/current/bin:${JUPYTERLAB_PATH}:${ORYX_PATHS}"
37
+ ENV PATH="${NVM_DIR}/current/bin:${NPM_GLOBAL}/bin:${ORIGINAL_PATH}:${DOTNET_ROOT}:${DOTNET_ROOT}/tools:${SDKMAN_DIR}/bin:${SDKMAN_DIR}/candidates/gradle/current/bin:${SDKMAN_DIR}/candidates/java/current/bin:/opt/maven/lts:${GOROOT}/bin:${GOPATH}/bin:${PIPX_BIN_DIR}:/opt/conda/condabin:${JAVA_ROOT}/current/bin:${NODE_ROOT}/current/bin:${PHP_ROOT}/current/bin:${PYTHON_ROOT}/current/bin:${RUBY_ROOT}/current/bin:${MAVEN_ROOT}/current/bin:${HUGO_ROOT}/current/bin:${JUPYTERLAB_PATH}:${ORYX_PATHS}"
40
38
41
39
# Install needed utilities and setup non-root user. Use a separate RUN statement to add your own dependencies.
42
40
COPY library-scripts/* setup-user.sh first-run-notice.txt /tmp/scripts/
@@ -59,7 +57,6 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
59
57
&& bash /tmp/scripts/sshd-debian.sh \
60
58
&& bash /tmp/scripts/git-lfs-debian.sh \
61
59
&& bash /tmp/scripts/github-debian.sh \
62
- && bash /tmp/scripts/azcli-debian.sh \
63
60
# Install Moby CLI and Engine
64
61
&& bash /tmp/scripts/docker-in-docker-debian.sh "true" "${USERNAME}" "true" \
65
62
&& bash /tmp/scripts/kubectl-helm-debian.sh \
@@ -74,17 +71,14 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
74
71
# Install Python, PHP, Ruby utilities, and JupyterLab
75
72
RUN bash /tmp/scripts/python-debian.sh "none" "/opt/python/latest" "${PIPX_HOME}" "${USERNAME}" "true" \
76
73
&& bash /tmp/scripts/jupyterlab-debian.sh \
74
+ && pip install --user numpy pandas scipy matplotlib seaborn scikit-learn tensorflow keras torch requests \
77
75
# Install rvm, rbenv, any missing base gems
78
76
&& chown -R ${USERNAME} /opt/ruby/* \
79
77
&& bash /tmp/scripts/ruby-debian.sh "none" "${USERNAME}" "true" "true" \
80
78
# Link composer
81
79
&& ln -s $(which composer.phar) /usr/local/bin/composer \
82
80
&& apt-get clean -y
83
81
84
- # Install PowerShell
85
- RUN bash /tmp/scripts/powershell-debian.sh \
86
- && apt-get clean -y
87
-
88
82
# Setup Node.js, install NVM and NVS
89
83
RUN bash /tmp/scripts/node-debian.sh "${NVM_DIR}" "none" "${USERNAME}" \
90
84
&& (cd ${NVM_DIR} && git remote get-url origin && echo $(git log -n 1 --pretty=format:%H -- .)) > ${NVM_DIR}/.git-remote-and-commit \
@@ -108,9 +102,8 @@ RUN bash /tmp/scripts/gradle-debian.sh "latest" "${SDKMAN_DIR}" "${USERNAME}" "t
108
102
&& sdk install java 11-opt-java /opt/java/17.0 \
109
103
&& sdk install java lts-opt-java /opt/java/lts"
110
104
111
- # Install Rust, Go, remove scripts now that we're done with them
112
- RUN bash /tmp/scripts/rust-debian.sh "${CARGO_HOME}" "${RUSTUP_HOME}" "${USERNAME}" "true" \
113
- && bash /tmp/scripts/go-debian.sh "latest" "${GOROOT}" "${GOPATH}" "${USERNAME}" \
105
+ # Install Go, remove scripts now that we're done with them
106
+ RUN bash /tmp/scripts/go-debian.sh "latest" "${GOROOT}" "${GOPATH}" "${USERNAME}" \
114
107
&& apt-get clean -y && rm -rf /tmp/scripts
115
108
116
109
# Mount for docker-in-docker
0 commit comments