-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix skype, add fontforge, enhance keepass2 (#371)
* Enable keepass2 to use plugins * Add fontforge * Let skype finish before exiting container
- Loading branch information
1 parent
2bf9642
commit 2f9a86e
Showing
4 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Run Fontforge in a container | ||
# | ||
# state=$HOME | ||
# mkdir -p $state/fontforge | ||
# docker run --rm \ | ||
# -v /tmp/.X11-unix:/tmp/.X11-unix \ | ||
# -e DISPLAY=unix$DISPLAY \ | ||
# -v $state/fontforge:/home/fontforge \ | ||
# --name fontforge \ | ||
# fghj/fontforge | ||
|
||
# Base docker image | ||
FROM ubuntu:latest | ||
LABEL maintainer "Axel Svensson <[email protected]>" | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y \ | ||
software-properties-common \ | ||
--no-install-recommends \ | ||
&& add-apt-repository ppa:fontforge/fontforge \ | ||
&& apt-get update \ | ||
&& apt-get install -y \ | ||
fontforge \ | ||
--no-install-recommends \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
ENV HOME /home/fontforge | ||
RUN useradd --create-home --home-dir $HOME fontforge | ||
WORKDIR $HOME | ||
USER fontforge | ||
CMD [ "fontforge" ] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
skypeforlinux | ||
sleep 3 | ||
while ps -C skypeforlinux >/dev/null;do sleep 3;done |