mirror of
https://github.com/newnius/YAO-Dockerfiles.git
synced 2025-12-13 09:36:43 +00:00
update dependencies
This commit is contained in:
@@ -12,6 +12,11 @@ if [ -d /workspace ]; then
|
|||||||
cd /workspace
|
cd /workspace
|
||||||
fi
|
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
|
# use eval because commands likes `key=value command` would cause file not found error when using $@, but this eval will ruin current environment
|
||||||
eval $@
|
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
|
ENV PATH $PATH:/usr/local/go/bin
|
||||||
|
|
||||||
RUN go get github.com/Shopify/sarama
|
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/
|
RUN git clone https://github.com/newnius/YAO-scheduler.git /root/yao-scheduler/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user