STT-tensorflow/tensorflow/tools/gcs_test/Dockerfile
Yong Tang e67f3af48c Use 'LABEL maintainer=' in Dockerfile ()
* Use 'LABEL maintainer=' in Dockerfile

This fix is a follow up of 13661 to replace `MAINTAINER`
with `LABEL maintainer=` in Dockerfile. The keyword
`MAINTAINER` has long been deprecated and is replaced by `LABEL`,
which is much more flexible and is easily searchable through `docker inspect`.

This fix replaces remaining `MAINTAINER` with `LABEL`.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Additional `MAITAINER` -> `LABEL`

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-10-24 20:45:17 -04:00

25 lines
658 B
Docker

FROM ubuntu:16.04
LABEL maintainer="Shanqing Cai <cais@google.com>"
RUN apt-get update
RUN apt-get install -y \
curl \
libcurl4-openssl-dev \
python \
python-pip
# Install Google Cloud SDK
RUN curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/install_google_cloud_sdk.bash
RUN chmod +x install_google_cloud_sdk.bash
RUN ./install_google_cloud_sdk.bash --disable-prompts --install-dir=/var/gcloud
# Install TensorFlow pip from build context.
COPY tensorflow-*.whl /
RUN pip install /tensorflow-*.whl
# Copy test files
RUN mkdir -p /gcs-smoke/python
COPY gcs_smoke_wrapper.sh /gcs-smoke/
COPY python/gcs_smoke.py /gcs-smoke/python/