30 lines
929 B
Docker
30 lines
929 B
Docker
FROM mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
# Add keys and sources lists
|
|
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash
|
|
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
|
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" \
|
|
| tee /etc/apt/sources.list.d/yarn.list
|
|
|
|
# Install node, 7zip, yarn, git, process tools
|
|
RUN apt-get update \
|
|
&& apt-get install -y nodejs p7zip-full git procps ssh-client
|
|
|
|
# Clean up
|
|
RUN apt-get autoremove -y \
|
|
&& apt-get clean -y \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install dotnet tools
|
|
RUN dotnet tool install fable -g
|
|
|
|
# Trouble brewing
|
|
RUN rm /etc/ssl/openssl.cnf
|
|
|
|
# add dotnet tools to path to pick up fake and paket installation
|
|
ENV PATH="/root/.dotnet/tools:${PATH}"
|
|
|
|
# Copy endpoint specific user settings into container to specify
|
|
# .NET Core should be used as the runtime.
|
|
COPY settings.vscode.json /root/.vscode-remote/data/Machine/settings.json
|