mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
Add micro (#187)
This commit is contained in:
parent
44a527332a
commit
be2f2a03b5
15
micro/Dockerfile
Normal file
15
micro/Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM golang:1.7.0-alpine
|
||||
MAINTAINER Christian Koep <christian.koep@fom-net.de>
|
||||
|
||||
RUN apk update && apk add --no-cache \
|
||||
git \
|
||||
make \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& git clone --depth 1 -b master https://github.com/zyedidia/micro /usr/src/micro \
|
||||
&& cd /usr/src/micro \
|
||||
&& make install \
|
||||
&& apk del \
|
||||
git \
|
||||
make
|
||||
|
||||
ENTRYPOINT [ "/go/bin/micro" ]
|
Loading…
Reference in New Issue
Block a user