-
Notifications
You must be signed in to change notification settings - Fork 747
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sven
committed
Oct 5, 2018
1 parent
eb9dab1
commit b7b2ec8
Showing
12 changed files
with
115 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
FROM python:3.6 | ||
MAINTAINER Sven Degroote "sven.degroote@ml6.eu" | ||
# Copyright 2016 The TensorFlow 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. | ||
|
||
# Install python - pip | ||
RUN apt-get update -y && \ | ||
apt-get install -y python3-pip | ||
FROM tensorflow/tensorflow:1.8.0-devel-py3 | ||
|
||
# Install packages (steps to work around package incompatibility) | ||
COPY requirements.txt / | ||
RUN pip3 install --no-cache-dir -r requirements.txt | ||
RUN pip3 install tensorflow | ||
RUN pip3 install --upgrade google-cloud-bigquery | ||
RUN pip3 install google-cloud-storage==1.10.0 \ | ||
google-cloud-bigquery==1.6.0 \ | ||
pandas==0.23.4 \ | ||
numpy==1.15.2 | ||
|
||
COPY . /opt/workdir | ||
WORKDIR /opt/workdir | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
FROM python:3.6 | ||
MAINTAINER Sven Degroote "sven.degroote@ml6.eu" | ||
# Copyright 2016 The TensorFlow 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. | ||
|
||
# Install python - pip | ||
RUN apt-get update -y && \ | ||
apt-get install -y python3-pip | ||
FROM tensorflow/tensorflow:1.8.0-devel-py3 | ||
|
||
# Install packages | ||
COPY requirements.txt / | ||
RUN pip3 install --no-cache-dir -r requirements.txt | ||
RUN pip3 install tensorflow | ||
RUN pip3 install --upgrade google-cloud-bigquery | ||
RUN pip3 install google-cloud-storage==1.10.0 \ | ||
google-cloud-bigquery==1.6.0 \ | ||
pandas==0.23.4 \ | ||
numpy==1.15.2 | ||
|
||
COPY . /opt/workdir | ||
WORKDIR /opt/workdir | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
FROM tensorflow/tensorflow:1.8.0-devel-gpu-py3 | ||
MAINTAINER Sven Degroote "sven.degroote@ml6.eu" | ||
|
||
RUN apt-get update -y && \ | ||
apt-get install -y build-essential python-numpy python-dev python3-pip python3 wget | ||
|
||
RUN pip3 install --upgrade pip setuptools | ||
# Copyright 2016 The TensorFlow 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. | ||
|
||
# Install packages | ||
COPY requirements.txt . | ||
RUN pip3 install -r requirements.txt | ||
RUN pip3 uninstall protobuf -y | ||
RUN pip3 install tensorflow-gpu==1.8.0 | ||
RUN pip3 install --upgrade google-cloud-bigquery | ||
FROM tensorflow/tensorflow:1.8.0-devel-gpu-py3 | ||
|
||
# Verify that tensorflow is installed | ||
RUN pip3 show tensorflow | ||
RUN pip3 install google-cloud-storage==1.10.0 \ | ||
google-cloud-bigquery==1.6.0 \ | ||
pandas==0.23.4 \ | ||
numpy==1.15.2 | ||
|
||
COPY . /opt/workdir | ||
WORKDIR /opt/workdir | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
google-cloud-storage==1.10.0 | ||
google-cloud-bigquery | ||
pandas | ||
numpy | ||
google-cloud-bigquery==1.6.0 | ||
pandas==0.23.4 | ||
numpy==1.15.2 | ||
tensorflow==1.8.0 |
Oops, something went wrong.