FROM golang:1.12
|
|
|
|
|
|
# Grab deps (jq, hexdump, xxd, killall)
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
jq bsdmainutils vim-common psmisc netcat
|
|
|
|
# Add testing deps for curl
|
|
RUN echo 'deb http://httpredir.debian.org/debian testing main non-free contrib' >> /etc/apt/sources.list && \
|
|
apt-get update && \
|
|
apt-get install -y --no-install-recommends curl
|
|
|
|
VOLUME /go
|
|
|
|
EXPOSE 26656
|
|
EXPOSE 26657
|
|
|