File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ function system:env() {
1414 echo HELPER_DIR=${HELPER_DIR}
1515 echo NETWORK_NAME=${NETWORK_NAME}
1616 echo DOCKER_BUILDKIT=${DOCKER_BUILDKIT}
17+ echo DOCKER_DEFAULT_PLATFORM=${DOCKER_DEFAULT_PLATFORM}
1718 echo DDE_UID=${DDE_UID}
1819 echo DDE_GID=${DDE_GID}
1920 echo " "
Original file line number Diff line number Diff line change @@ -13,11 +13,14 @@ NETWORK_NAME=dde
1313DOCKER_BUILDKIT=1
1414DDE_UID=$( id -u)
1515DDE_GID=$( id -g)
16+ DOCKER_DEFAULT_PLATFORM=$( uname -m | sed ' s/x86_64/linux\/amd64/; s/arm64/linux\/arm64/' )
1617DDE_BROWSER=
1718DDE_CONTAINER_SHELL=sh
1819export DDE_UID
1920export DDE_GID
2021export DDE_CONTAINER_SHELL
22+ export DOCKER_DEFAULT_PLATFORM
23+
2124# If we're running in CI we need to disable TTY allocation for docker-compose
2225# commands that enable it by default, such as exec and run.
2326TTY=" "
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: "3.4"
22
33services :
44 dnsmasq :
5- image : andyshinn /dnsmasq
5+ image : 4km3 /dnsmasq:2.85-r2
66 restart : unless-stopped
77 cap_add :
88 - NET_ADMIN
You can’t perform that action at this time.
0 commit comments