Hi,
I want to deploy password manager app “Spectre Desktop” f.k.a. “Masterpassword-gui” on MicroOS.
Actually I have a jar-file that works on regular desktops using this command:
java -jar /path/to/jar-file/masterpassword-gui.jar
There’s neither a flatpak nor a docker container available, but I’m confident that a container solution is the right approach.
Therefore I started to build an image using podman and this dockerfile:
# Filename: mpw-gui
FROM alpine:latest
RUN apk add java-common p11-kit-trust java-cacerts openjdk17-jre-headless alsa-lib giflib lcms2 openjdk17-jre openjdk17-jmods openjdk17-jdk
COPY files/masterpassword-gui.jar /home/thomas/Software/masterpassword-gui.jar
CMD ["java", "-jar", "/home/thomas/Software/masterpassword-gui.jar"]
tree Software/container/mpg-gui/
Software/container/mpg-gui/
├── Dockerfile
└── files
└── masterpassword-gui.jar
1 directories, 2 files
However running this container fails.
Masterpassword-gui is obviously desktop application, and I assume I didn’t consider this accordingly in my dockerfile.
Could you please advise how to build this container correctly with podman
?
THX