mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
telnet -> alpine base
doctor -> Alpine base
This commit is contained in:
parent
db04a50f61
commit
e9d714708a
|
@ -12,18 +12,17 @@
|
|||
# # Build doctor image
|
||||
# docker build -t doctor .
|
||||
#
|
||||
# docker run -it doctor
|
||||
# docker run -it jess/doctor
|
||||
#
|
||||
|
||||
# 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 \
|
||||
emacs \
|
||||
--no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
# 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 --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
|
||||
|
||||
# Autorun doctor
|
||||
CMD ["/usr/bin/emacs", "-f", "doctor"]
|
||||
|
|
|
@ -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>
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
telnet \
|
||||
--no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENTRYPOINT [ "telnet" ]
|
||||
|
|
Loading…
Reference in New Issue
Block a user