2021-09-11 07:39:16 +08:00
|
|
|
#-------------------------------------------------------------------------------------------------------------
|
|
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
# Licensed under the MIT License. See LICENSE file in the project root for license information.
|
|
|
|
#-------------------------------------------------------------------------------------------------------------
|
|
|
|
|
2024-01-04 01:40:43 +08:00
|
|
|
FROM mcr.microsoft.com/vscode/devcontainers/python:3.10
|
2021-09-11 07:39:16 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Update the OS and maybe install packages
|
|
|
|
#
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get upgrade -y \
|
2021-12-17 09:11:33 +08:00
|
|
|
&& apt-get -y install --no-install-recommends build-essential npm \
|
2021-09-11 07:39:16 +08:00
|
|
|
&& apt-get autoremove -y \
|
|
|
|
&& apt-get clean -y \
|
2024-03-06 23:42:22 +08:00
|
|
|
&& arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \
|
|
|
|
&& wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.5.23/quarto-1.5.23-linux-${arch}.deb \
|
|
|
|
&& dpkg -i quarto-1.5.23-linux-${arch}.deb \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* quarto-1.5.23-linux-${arch}.deb
|
2021-09-11 07:39:16 +08:00
|
|
|
ENV DEBIAN_FRONTEND=dialog
|
|
|
|
|
2021-12-17 09:11:33 +08:00
|
|
|
# For docs
|
|
|
|
RUN npm install --global yarn
|
2023-09-16 18:57:57 +08:00
|
|
|
RUN pip install pydoc-markdown
|
2024-02-08 09:25:43 +08:00
|
|
|
RUN pip install pyyaml
|
2024-03-02 22:27:11 +08:00
|
|
|
RUN pip install colored
|