mirror of
https://github.com/newnius/YAO-Dockerfiles.git
synced 2025-06-06 07:51:54 +00:00
update dependencies
This commit is contained in:
parent
eaf2d3dfae
commit
f79ab58e5d
@ -12,6 +12,11 @@ if [ -d /workspace ]; then
|
||||
cd /workspace
|
||||
fi
|
||||
|
||||
if ! grep -q *.py per_process_gpu_memory_fraction; then
|
||||
echo "Resourse usage limitation not set!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# use eval because commands likes `key=value command` would cause file not found error when using $@, but this eval will ruin current environment
|
||||
eval $@
|
||||
|
||||
|
@ -10,6 +10,7 @@ RUN wget https://dl.google.com/go/go1.12.4.linux-amd64.tar.gz && \
|
||||
ENV PATH $PATH:/usr/local/go/bin
|
||||
|
||||
RUN go get github.com/Shopify/sarama
|
||||
RUN go get github.com/sirupsen/logrus
|
||||
|
||||
RUN git clone https://github.com/newnius/YAO-scheduler.git /root/yao-scheduler/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user