Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
e559c95f
Commit
e559c95f
authored
Mar 24, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add unsupported docker-desktop
parent
c0bd8188
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
0 deletions
+54
-0
docker-desktop.sh
play.d/docker-desktop.sh
+27
-0
docker-desktop.sh
repack.d/docker-desktop.sh
+27
-0
No files found.
play.d/docker-desktop.sh
0 → 100755
View file @
e559c95f
#!/bin/sh
PKGNAME
=
docker-desktop
SUPPORTEDARCHES
=
"x86_64 aarch64"
#VERSION="$2"
DESCRIPTION
=
"Docker Desktop from the official site"
URL
=
"https://docs.docker.com/desktop/install/ubuntu/"
.
$(
dirname
$0
)
/common.sh
pkgtype
=
$(
epm print info
-p
)
case
$pkgtype
in
rpm
)
PKGURL
=
"https://desktop.docker.com/linux/main/amd64/139021/docker-desktop-4.28.0-x86_64.rpm"
;;
deb
)
PKGURL
=
"https://desktop.docker.com/linux/main/amd64/139021/docker-desktop-4.28.0-amd64.deb"
;;
esac
repack
=
''
if
[
"
$(
epm print info
-s
)
"
=
"alt"
]
;
then
PKGURL
=
"https://desktop.docker.com/linux/main/amd64/139021/docker-desktop-4.28.0-amd64.deb"
repack
=
'--repack'
fi
epm
install
$repack
"
$PKGURL
"
repack.d/docker-desktop.sh
0 → 100755
View file @
e559c95f
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
add_electron_deps
fix_chrome_sandbox
# conflicts with docker-buildx
remove_file /usr/lib/docker/cli-plugins/docker-buildx
add_requires /usr/bin/docker
ln
-s
usr/bin/docker usr/local/bin/com.docker.cli
pack_file /usr/local/bin/com.docker.cli
add_bin_link_command
$PRODUCT
/opt/docker-desktop/bin/docker-desktop
add_bin_link_command docker-index /opt/docker-desktop/bin/docker-index
#echo 'Enabling use of privileged ports by Docker Desktop'
#setcap cap_net_bind_service,cap_sys_resource=+ep /opt/docker-desktop/bin/com.docker.backend || echo 'Error: Docker Desktop will not be able to bind to privileged ports'
#systemctl start --user docker-desktop
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