also update other images to alpine

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle 2015-08-15 18:54:31 -07:00
parent 112ba4b33f
commit 0691fba97f
2 changed files with 12 additions and 10 deletions

View File

@ -16,14 +16,15 @@
#
# Base docker image
FROM debian:jessie
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
# Install emacs
RUN apt-get update && apt-get install -y \
# Install emacs:
# Note: Eamcs is only in testing repo -> http://pkgs.alpinelinux.org/packages?package=emacs&repo=all&arch=x86_64
RUN apk update && apk add \
emacs \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
--update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \
&& rm -rf /var/cache/apk/*
# Autorun dunnet
CMD ["/usr/bin/emacs", "-batch", "-l", "dunnet"]

View File

@ -16,14 +16,15 @@
#
# Base docker image
FROM debian:jessie
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
# Install emacs
RUN apt-get update && apt-get install -y \
# Install emacs:
# Note: Eamcs is only in testing repo -> http://pkgs.alpinelinux.org/packages?package=emacs&repo=all&arch=x86_64
RUN apk update && apk add \
emacs \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
--update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \
&& rm -rf /var/cache/apk/*
# Autorun tetris
CMD ["/usr/bin/emacs", "-f", "tetris"]