mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
telnet -> alpine base
doctor -> Alpine base
This commit is contained in:
parent
db04a50f61
commit
e9d714708a
|
@ -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"]
|
||||||
|
|
|
@ -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" ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user