1
0
mirror of https://github.com/newnius/YAO-Dockerfiles.git synced 2025-06-07 08:11:56 +00:00
YAO-Dockerfiles/yao-scheduler/dev/Dockerfile

20 lines
484 B
Docker
Raw Normal View History

2019-05-06 07:35:30 +00:00
FROM ubuntu:16.04
RUN apt update && \
apt install -y wget vim git gcc httpie dnsutils
RUN wget https://dl.google.com/go/go1.12.4.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go1.12.4.linux-amd64.tar.gz && \
rm go1.12.4.linux-amd64.tar.gz
ENV PATH $PATH:/usr/local/go/bin
RUN go get github.com/Shopify/sarama
2019-07-10 12:47:02 +00:00
RUN go get github.com/sirupsen/logrus
2019-05-06 07:35:30 +00:00
RUN git clone https://github.com/newnius/YAO-scheduler.git /root/yao-scheduler/
2019-05-06 08:10:49 +00:00
WORKDIR /root/yao-scheduler/
2019-05-06 07:35:30 +00:00
CMD go run src/*