Public Repository

Last pushed: 6 months ago
Short Description
atom editor image
Full Description

Build

docker build -t atom-editor .

Run

  docker run -it --rm \
    -v /tmp/X11-unix/:/tmp/.X11-unix/ \
    -v /dev/shm:/dev/shm \
    -v $HOME/.atom:/home/atom/.atom \
    -v $PWD:/root/workspace \
    -e DISPLAY
     quasipresence/atom-editor

Dockerfile

FROM ubuntu:latest

ENV ATOM_VERSION v1.16.0

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
      ca-certificates \
      curl \
      fakeroot \
      gconf2 \
      gconf-service \
      git \
      gvfs-bin \
      libasound2 \
      libcap2 \
      libgconf-2-4 \
      libgtk2.0-0 \
      libnotify4 \
      libnss3 \
      libxkbfile1 \
      libxss1 \
      libxtst6 \
      python \
      xdg-utils && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* && \
    curl -L https://github.com/atom/atom/releases/download/${ATOM_VERSION}/atom-amd64.deb > /tmp/atom.deb && \
    dpkg -i /tmp/atom.deb && \
    rm -f /tmp/atom.deb && \
    useradd -d /home/atom -m atom

USER atom

CMD ["/usr/bin/atom","-f"]
Docker Pull Command
Owner
quasipresence

Comments (0)