telnet -> alpine base

doctor -> Alpine base
This commit is contained in:
Jaren Glover 2015-08-02 21:00:01 -04:00 committed by Jessica Frazelle
parent db04a50f61
commit e9d714708a
2 changed files with 12 additions and 13 deletions

View File

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

View File

@ -1,9 +1,9 @@
FROM debian:jessie # command to run Telnet
# docker run -it --rm \
# --log-driver none \
# jess/telnet "$@"
#
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com> MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
telnet \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "telnet" ] ENTRYPOINT [ "telnet" ]