diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..d5ad6292e075fe5479245908322774fc4a82c8dd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +# A dev image based on paddle production image + +FROM paddlepaddle/paddle:latest-gpu + +RUN apt-get install -y cmake +RUN pip install gym +RUN pip install details diff --git a/scripts/build.sh b/scripts/build.sh index 6b6cc2609e214d067f1a31da4444e8f69ffa3071..4ad433e40e51e352f38954a345ed8b6ebc19a1b0 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -56,7 +56,6 @@ function check_style() { } function run_test() { - apt-get install -y cmake mkdir -p ${REPO_ROOT}/build cd ${REPO_ROOT}/build cmake ..