Skip to content

Get jupyter working. #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ RUN npm install -g ${extension_manager}
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
vsce package --out /${extension_name}.vsix
2 changes: 1 addition & 1 deletion atlassian.atlascode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ RUN npm install -g npm@latest ${extension_manager}
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
# Adding --no-dependencies for now since there is an npm list issue during packaging
vsce package --out /${extension_name}.vsix --baseContentUrl https://bitbucket.org/atlassianlabs/atlascode/src/main/ --no-dependencies
2 changes: 1 addition & 1 deletion bmewburn.vscode-intelephense-client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ RUN npm install -g ${extension_manager}
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
vsce package --out /${extension_name}.vsix --no-dependencies
2 changes: 1 addition & 1 deletion donjayamanne.githistory/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ RUN npm install -g ${extension_manager}
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
vsce package --out /${extension_name}.vsix --no-dependencies
2 changes: 1 addition & 1 deletion felixfbecker.php-debug/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ RUN npm install -g ${extension_manager}
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm run build && \
vsce package --out /${extension_name}.vsix
2 changes: 1 addition & 1 deletion github.vscode-pull-request-github/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ RUN npm install -g ${extension_manager}
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
yarn run compile && \
vsce package --out /${extension_name}.vsix
2 changes: 1 addition & 1 deletion gitlab.gitlab-workflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ RUN npm install -g ${extension_manager}
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm run package && \
mv ./dist-desktop/gitlab-workflow-*.vsix /gitlab.gitlab-workflow.vsix
2 changes: 1 addition & 1 deletion ms-python.python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ ENV TRAVIS=true
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
gulp clean && gulp prePublishBundle && \
vsce package --out /${extension_name}.vsix
28 changes: 6 additions & 22 deletions ms-toolsai.jupyter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,15 @@ ARG extension_vsce
USER root
WORKDIR /

# Make cmake so we can make zeromq so we can install npm dependencies
RUN curl -L https://github.com/Kitware/CMake/releases/download/v3.26.2/cmake-3.26.2.tar.gz -o cmake-3.26.2.tar.gz && \
gunzip cmake-3.26.2.tar.gz && \
tar -xvf cmake-3.26.2.tar && \
cd cmake-3.26.2 && \
./bootstrap && \
make && \
make install

RUN npm install -g ${extension_manager}
RUN dnf -y install python38 python3-pip platform-python-pip && \
ln -s /usr/bin/python3 /usr/bin/python && \
python3 -m pip install --upgrade pip

RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] --unsafe-perm=true&& \
npm install --unsafe-perm=true --allow-root && \
dnf module install -y nodejs:16/common && \
npm install @types/vscode react-is crypto --unsafe-perm=true && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
npm install [email protected] && \
npm install --unsafe-perm=true --allow-root --ignore-scripts && \
#--loglevel silly
python3 -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir \
--implementation py --no-deps --upgrade -r ./requirements.txt --no-user && \
npm run clean && \
npm run package


#npm run package
gulp clean && gulp prePublishBundle && vsce package -o /${extension_name}.vsix
2 changes: 1 addition & 1 deletion ms-vscode.js-debug/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ RUN npm install -g ${extension_manager}
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm run package && \
ls dist && \
mv ./dist/js-debug.vsix /ms-vscode.js-debug.vsix
2 changes: 1 addition & 1 deletion ms-vscode.vscode-js-profile-table/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ RUN npm install -g ${extension_manager}
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm run compile && \
cd ./packages/vscode-js-profile-table && cp ../../LICENSE ./ && \
vsce package --out /${extension_name}.vsix --no-dependencies
4 changes: 2 additions & 2 deletions plugin-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@
"ms-toolsai.jupyter": {
"comment": "Cannot be built due to https://github.com/microsoft/vscode-jupyter/issues/13260, tracked in https://issues.redhat.com/browse/CRW-4325",
"repository": "https://github.com/microsoft/vscode-jupyter",
"revision": "2023.03.100",
"revision": "4733a075e8af70d358dba81987395c9150fe5802",
"update": "false",
"ubi8Image": "nodejs-16:1-90",
"packageManager": "npm@8.15.1"
"packageManager": "npm@6.14.18"
},
"ms-toolsai.jupyter-keymap": {
"comment": "Version: 1.1.2",
Expand Down
2 changes: 1 addition & 1 deletion redhat.ansible/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ RUN npm install -g ${extension_manager}
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
yarn run webpack && \
vsce package --out /${extension_name}.vsix
2 changes: 1 addition & 1 deletion redhat.fabric8-analytics/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ RUN npm install -g ${extension_manager}
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] --unsafe-perm=true && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
#the svg file breaks vsce so we take it out until they update the marketplace image
sed -i '/fabric8-analytics.svg/d' ./README.md && \
vsce package --out /${extension_name}.vsix
2 changes: 1 addition & 1 deletion redhat.java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
cd ./${extension_name} && git checkout ${extension_revision} && \
#Copy quarkus source into extension source to package both
cp /eclipse.jdt.ls-${JDT_VERSION}-sources.tar.gz ./ && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm run compile && \
npm run vscode:prepublish && \
vsce package --out /${extension_name}.vsix
2 changes: 1 addition & 1 deletion redhat.vscode-commons/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ RUN npm install -g ${extension_manager}
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
#the svg file breaks vsce so we take it out until they update the marketplace image
sed -i '/vscode-commons.svg/d' ./README.md && \
vsce package --out /${extension_name}.vsix
2 changes: 1 addition & 1 deletion redhat.vscode-quarkus/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
cd ./${extension_name} && git checkout ${extension_revision} && \
#Copy quarkus source into extension source to package both
cp /quarkus-ls-${QUARKUS_VERSION}-sources.tar.gz ./ && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] --unsafe-perm=true && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
vsce package --out /${extension_name}.vsix
2 changes: 1 addition & 1 deletion redhat.vscode-xml/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ RUN dnf install -y jq
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
echo ">> REPLACE in package-lock.json" && \
REPLACE_FROM="https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org" && \
REPLACE_TO="https://registry.npmjs.org" && \
sed -i "s|${REPLACE_FROM}|${REPLACE_TO}|" package-lock.json && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
echo ">> download XML server" && \
export XML_SERVER_VERSION="$(cat package.json | jq -r .xmlServer.version)" && \
mkdir ./server && cd ./server && \
Expand Down
2 changes: 1 addition & 1 deletion xdebug.php-debug/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ RUN npm install -g ${extension_manager}
RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm run build && \
vsce package --out /${extension_name}.vsix ${extension_revision}