mirror of
https://github.com/andersrh/Podmanfiles.git
synced 2026-06-07 06:38:03 +00:00
commit images based on fedora-toolbox
This commit is contained in:
parent
e9ebdb26f5
commit
2ba669aad1
10 changed files with 56 additions and 0 deletions
9
fedora-toolbox/binance/Dockerfile
Normal file
9
fedora-toolbox/binance/Dockerfile
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM localhost/andersrh/fedora-toolbox/gui
|
||||
|
||||
WORKDIR /app
|
||||
RUN wget https://download.binance.com/electron-desktop/linux/production/binance-x86_64-linux.rpm \
|
||||
&& rpm -i binance-x86_64-linux.rpm && rm -f binance-x86_64-linux.rpm \
|
||||
&& dnf clean all
|
||||
|
||||
COPY bin/app /usr/local/bin
|
||||
RUN chmod +x /usr/local/bin/app
|
||||
3
fedora-toolbox/binance/bin/app
Normal file
3
fedora-toolbox/binance/bin/app
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
/opt/Binance/binance --enable-features=WaylandWindowDecorations --ozone-platform=wayland
|
||||
5
fedora-toolbox/binance/build.sh
Executable file
5
fedora-toolbox/binance/build.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
podman build -t andersrh/fedora-toolbox/binance -f Dockerfile .
|
||||
distrobox create --image andersrh/fedora-toolbox/binance --home ~/containers/binance/ binance
|
||||
distrobox enter binance -- distrobox-export --app binance --extra-flags "--enable-features=WaylandWindowDecorations --ozone-platform=wayland"
|
||||
Loading…
Add table
Add a link
Reference in a new issue