Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
devcontainer-features
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eazydevelop-devcontainer-temp
devcontainer-features
Commits
7fcec6e7
Unverified
Commit
7fcec6e7
authored
Jul 19, 2023
by
Samruddhi Khandale
Committed by
GitHub
Jul 19, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Docker-in-docker for python - Arm64 (#618)
Fix: Docker-in-docker for python:3.11 - Arm64
parent
0e8940ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
devcontainer-feature.json
src/docker-in-docker/devcontainer-feature.json
+1
-1
install.sh
src/docker-in-docker/install.sh
+15
-1
No files found.
src/docker-in-docker/devcontainer-feature.json
View file @
7fcec6e7
{
"id"
:
"docker-in-docker"
,
"version"
:
"2.2.
0
"
,
"version"
:
"2.2.
1
"
,
"name"
:
"Docker (Docker-in-Docker)"
,
"documentationURL"
:
"https://github.com/devcontainers/features/tree/main/src/docker-in-docker"
,
"description"
:
"Create child containers *inside* a container, independent from the host's docker instance. Installs Docker extension in the container along with needed CLIs."
,
...
...
src/docker-in-docker/install.sh
View file @
7fcec6e7
...
...
@@ -265,7 +265,21 @@ if [ "${DOCKER_DASH_COMPOSE_VERSION}" != "none" ]; then
pip3
install
--disable-pip-version-check
--no-cache-dir
--user
pipx
pipx_bin
=
/tmp/pip-tmp/bin/pipx
fi
${
pipx_bin
}
install
--pip-args
'--no-cache-dir --force-reinstall'
docker-compose
set
+e
${
pipx_bin
}
install
--pip-args
'--no-cache-dir --force-reinstall'
docker-compose
exit_code
=
$?
set
-e
if
[
${
exit_code
}
-ne
0
]
;
then
# Temporary: https://github.com/devcontainers/features/issues/616
# See https://github.com/yaml/pyyaml/issues/601
echo
"(*) Failed to install docker-compose via pipx. Trying via pip3..."
export
PYTHONUSERBASE
=
/usr/local
pip3
install
--disable-pip-version-check
--no-cache-dir
--user
"Cython<3.0"
pyyaml wheel docker-compose
--no-build-isolation
fi
rm
-rf
/tmp/pip-tmp
else
compose_v1_version
=
"1"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment