forked from radius-project/radius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
23 lines (17 loc) · 874 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
ARG VARIANT=3.1
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:0-${VARIANT}
USER root
# Install library scripts & setup "first notice"
COPY library-scripts/* first-run-notice.txt /tmp/library-scripts/
RUN bash /tmp/library-scripts/azcli-debian.sh \
&& bash /tmp/library-scripts/kubectl-helm-debian.sh \
&& mv -f /tmp/library-scripts/first-run-notice.txt /usr/local/etc/vscode-dev-containers/ \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts
# Install rad CLI (Linux)
# TODO: change to make binary directly inside this Dockerfile?
RUN wget -O /usr/local/bin/rad https://get.radapp.dev/tools/rad/edge/linux-x64/rad
RUN chmod +rx /usr/local/bin/rad
# Download Radius VSCode extension
RUN wget -O /home/rad-vscode-bicep.vsix https://get.radapp.dev/tools/vscode/edge/rad-vscode-bicep.vsix
USER vscode
RUN touch ~/.vimrc