1
0
mirror of https://github.com/jessfraz/dockerfiles.git synced 2025-04-13 23:52:44 +02:00

update atom

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle 2016-02-04 12:11:11 -08:00
parent 2092777ba7
commit 89d95b1081
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

@ -20,16 +20,14 @@
# #
# Base docker image # Base docker image
FROM jess/chromium FROM debian:jessie
MAINTAINER Jessica Frazelle <jess@docker.com> MAINTAINER Jessica Frazelle <jess@docker.com>
# Install dependencies # Install dependencies
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
ca-certificates \ git \
curl \
gconf2 \ gconf2 \
gconf-service \ gconf-service \
git \
gvfs-bin \ gvfs-bin \
libasound2 \ libasound2 \
libgconf-2-4 \ libgconf-2-4 \
@ -38,14 +36,24 @@ RUN apt-get update && apt-get install -y \
libnotify4 \ libnotify4 \
libnss3 \ libnss3 \
libxtst6 \ libxtst6 \
xdg-utils \
--no-install-recommends \ --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
ENV ATOM_VERSION 1.4.0 ENV ATOM_VERSION 1.4.0
RUN curl -sSL https://github.com/atom/atom/releases/download/v${ATOM_VERSION}/atom-amd64.deb -o /tmp/atom-amd64.deb \ # download the source
RUN buildDeps=' \
ca-certificates \
curl \
' \
&& set -x \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& curl -sSL https://github.com/atom/atom/releases/download/v${ATOM_VERSION}/atom-amd64.deb -o /tmp/atom-amd64.deb \
&& dpkg -i /tmp/atom-amd64.deb \ && dpkg -i /tmp/atom-amd64.deb \
&& rm -rf /tmp && rm -rf /tmp/*.deb \
&& apt-get purge -y --auto-remove $buildDeps
# Autorun atom # Autorun atom
ENTRYPOINT [ "atom", "--foreground" ] ENTRYPOINT [ "atom", "--foreground" ]