зеркало из https://github.com/Azure/reddog-code.git
Made version updates of node-sass and sass-loader. Updated Dockerfile to install python 2.7 dependency to allow for node-sass compilation within Codespaces.
This commit is contained in:
Родитель
4b6383cf31
Коммит
098e1f2183
|
@ -4,7 +4,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/dotnet:0-${VARIANT}
|
||||||
|
|
||||||
# [Option] Install Node.js
|
# [Option] Install Node.js
|
||||||
ARG INSTALL_NODE="true"
|
ARG INSTALL_NODE="true"
|
||||||
ARG NODE_VERSION="lts/*"
|
ARG NODE_VERSION="16.14.0"
|
||||||
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
|
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
|
||||||
|
|
||||||
# [Option] Install Azure CLI
|
# [Option] Install Azure CLI
|
||||||
|
@ -28,6 +28,8 @@ RUN apt-get update \
|
||||||
&& /bin/bash /tmp/library-scripts/docker-debian.sh "${ENABLE_NONROOT_DOCKER}" "/var/run/docker-host.sock" "/var/run/docker.sock" "${USERNAME}" \
|
&& /bin/bash /tmp/library-scripts/docker-debian.sh "${ENABLE_NONROOT_DOCKER}" "/var/run/docker-host.sock" "/var/run/docker.sock" "${USERNAME}" \
|
||||||
# Install Dapr
|
# Install Dapr
|
||||||
&& wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash \
|
&& wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash \
|
||||||
|
# Install Python 2.7
|
||||||
|
&& apt-get -y install python2-minimal \
|
||||||
# Clean up
|
# Clean up
|
||||||
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts/
|
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts/
|
||||||
|
|
||||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -24,7 +24,7 @@
|
||||||
"dotenv-webpack": "^7.0.2",
|
"dotenv-webpack": "^7.0.2",
|
||||||
"moment": "^2.29.1",
|
"moment": "^2.29.1",
|
||||||
"node-fetch": "^2.6.1",
|
"node-fetch": "^2.6.1",
|
||||||
"node-sass": "4.14",
|
"node-sass": "^6.0.1",
|
||||||
"register-service-worker": "^1.7.1",
|
"register-service-worker": "^1.7.1",
|
||||||
"vue": "^2.6.11",
|
"vue": "^2.6.11",
|
||||||
"vue-chartjs": "^3.5.1",
|
"vue-chartjs": "^3.5.1",
|
||||||
|
@ -39,9 +39,9 @@
|
||||||
"@vue/cli-plugin-eslint": "^4.4.6",
|
"@vue/cli-plugin-eslint": "^4.4.6",
|
||||||
"@vue/cli-plugin-pwa": "^4.4.6",
|
"@vue/cli-plugin-pwa": "^4.4.6",
|
||||||
"@vue/cli-service": "^4.5.12",
|
"@vue/cli-service": "^4.5.12",
|
||||||
"eslint": "^7.19.0",
|
"eslint": "^6.8.0",
|
||||||
"eslint-plugin-vue": "^7.5.0",
|
"eslint-plugin-vue": "^7.5.0",
|
||||||
"sass-loader": "^8.0.2",
|
"sass-loader": "^10.2.0",
|
||||||
"vue-cli-plugin-i18n": "^1.0.1",
|
"vue-cli-plugin-i18n": "^1.0.1",
|
||||||
"vue-template-compiler": "^2.6.11"
|
"vue-template-compiler": "^2.6.11"
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче