mirror of
https://github.com/newnius/YAO-Dockerfiles.git
synced 2025-06-06 07:51:54 +00:00
add yao-scheduler
This commit is contained in:
parent
39c1817441
commit
1adbc2e381
18
yao-scheduler/dev/Dockerfile
Normal file
18
yao-scheduler/dev/Dockerfile
Normal file
@ -0,0 +1,18 @@
|
||||
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
|
||||
|
||||
RUN git clone https://github.com/newnius/YAO-scheduler.git /root/yao-scheduler/
|
||||
|
||||
WORKSPACE /root/yao-scheduler/
|
||||
|
||||
CMD go run src/*
|
Loading…
Reference in New Issue
Block a user