dockerfiles/fontforge/Dockerfile
svenssonaxel 2f9a86e020 fix skype, add fontforge, enhance keepass2 (#371)
* Enable keepass2 to use plugins

* Add fontforge

* Let skype finish before exiting container
2018-04-10 16:07:13 -04:00

33 lines
777 B
Docker

# 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 <foss@axelsvensson.com>"
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" ]