From 0691fba97f411412978aa952b22289b7381f6e42 Mon Sep 17 00:00:00 2001 From: Jessica Frazelle Date: Sat, 15 Aug 2015 18:54:31 -0700 Subject: [PATCH] also update other images to alpine Signed-off-by: Jessica Frazelle --- dunnet/Dockerfile | 11 ++++++----- tetris/Dockerfile | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/dunnet/Dockerfile b/dunnet/Dockerfile index f4db2f1..d8f0e00 100644 --- a/dunnet/Dockerfile +++ b/dunnet/Dockerfile @@ -16,14 +16,15 @@ # # Base docker image -FROM debian:jessie +FROM alpine:latest MAINTAINER Jessica Frazelle -# 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"] diff --git a/tetris/Dockerfile b/tetris/Dockerfile index 786f4cd..949cec9 100644 --- a/tetris/Dockerfile +++ b/tetris/Dockerfile @@ -16,14 +16,15 @@ # # Base docker image -FROM debian:jessie +FROM alpine:latest MAINTAINER Jessica Frazelle -# 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"]