-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enh: images published on Docker Hub are now tagged with release versions
- Loading branch information
1 parent
2aced5f
commit 9575c6d
Showing
15 changed files
with
78 additions
and
37 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
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,7 +1,6 @@ | ||
apiVersion: skaffold/v1beta11 | ||
kind: Config | ||
build: | ||
local: {} | ||
tagPolicy: | ||
sha256: {} | ||
artifacts: | ||
|
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 |
---|---|---|
|
@@ -3,6 +3,9 @@ FROM ${FROM} | |
|
||
MAINTAINER Helmut Hoffer von Ankershoffen <[email protected]> | ||
|
||
# Inc on updates of base image | ||
ENV BUMP=1 | ||
|
||
# Build and install device query | ||
RUN cd /usr/local/cuda/samples/1_Utilities/deviceQuery && \ | ||
make clean && \ | ||
|
@@ -12,3 +15,6 @@ RUN cd /usr/local/cuda/samples/1_Utilities/deviceQuery && \ | |
|
||
# Execute deviceQuery to validate cuda and driver access on boot than sleep | ||
CMD exec /bin/bash -c "trap : TERM INT; /app/deviceQuery; echo \"Sleeping until terminated so you can see the log - press ctrl+c...\"; sleep infinity & wait" | ||
|
||
RUN mkdir -p /meta && \ | ||
date +"%FT%T%Z" > /meta/device-query.build |
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,7 +1,6 @@ | ||
apiVersion: skaffold/v1beta11 | ||
kind: Config | ||
build: | ||
local: {} | ||
tagPolicy: | ||
sha256: {} | ||
artifacts: | ||
|
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 |
---|---|---|
|
@@ -3,6 +3,9 @@ FROM ${FROM} | |
|
||
MAINTAINER Helmut Hoffer von Ankershoffen <[email protected]> | ||
|
||
# Inc on updates of base image | ||
ENV BUMP=1 | ||
|
||
# Install Jupyter | ||
RUN conda install -y jupyter && \ | ||
conda install -y ipywidgets | ||
|
@@ -30,3 +33,6 @@ CMD ["jupyter", "notebook", "--allow-root", "--no-browser" ] | |
# Expose jupyter and tensorboard | ||
EXPOSE 8888 | ||
EXPOSE 6006 | ||
|
||
RUN mkdir -p /meta && \ | ||
date +"%FT%T%Z" > /meta/jupyter.build |
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,7 +1,6 @@ | ||
apiVersion: skaffold/v1beta11 | ||
kind: Config | ||
build: | ||
local: {} | ||
tagPolicy: | ||
sha256: {} | ||
artifacts: | ||
|
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 |
---|---|---|
|
@@ -6,6 +6,9 @@ MAINTAINER Helmut Hoffer von Ankershoffen <[email protected]> | |
# Set non interactive frontend during build | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Simulate runlevel 1 needed on installing some packagess | ||
ENV RUNLEVEL=1 | ||
|
||
# Set locale and lang | ||
ENV LC_ALL=C.UTF-8 | ||
ENV LANG=C.UTF-8 | ||
|
@@ -22,7 +25,6 @@ ENV LD_LIBRARY_PATH="/usr/local/cuda-10.0/lib64:${LD_LIBRARY_PATH}" | |
ENV LD_LIBRARY_PATH="/usr/local/lib/:${LD_LIBRARY_PATH}" | ||
ENV LD_LIBRARY_PATH="/opt/archiconda3/lib:${LD_LIBRARY_PATH}" | ||
|
||
# | ||
ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn | ||
|
||
# Setup capabilties for cuda | ||
|
@@ -157,3 +159,6 @@ RUN pip install --no-cache-dir https://developer.download.nvidia.com/compute/red | |
|
||
# Remove repository reference so child images do not have to bind-mount again | ||
RUN rm /etc/apt/sources.list.d/cuda.list | ||
|
||
RUN mkdir -p /meta && \ | ||
date +"%FT%T%Z" > /meta/ml-base.build |
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,7 +1,6 @@ | ||
apiVersion: skaffold/v1beta11 | ||
kind: Config | ||
build: | ||
local: {} | ||
tagPolicy: | ||
sha256: {} | ||
artifacts: | ||
|
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,18 +1,22 @@ | ||
ARG FROM=max-one.local:5001/jetson/nano/ml-base | ||
FROM ${FROM} | ||
|
||
MAINTAINER Helmut Hoffer von Ankershoffen <[email protected]> | ||
|
||
# Inc on updates of base image | ||
ENV BUMP=1 | ||
|
||
# Number of parallel jobs when building TensorFlow serving | ||
ARG JOBS=1 | ||
|
||
# CUDA capabilities of Jetson (Nano, TX1, TX2 and Xavier) | ||
ARG TF_CUDA_COMPUTE_CAPABILITIES | ||
ENV TF_CUDA_COMPUTE_CAPABILITIES ${TF_CUDA_COMPUTE_CAPABILITIES:-5.3,6.2,7.2} | ||
|
||
# JETSON_MODEL used in .bazelrc | ||
ARG JETSON_MODEL | ||
ENV JETSON_MODEL ${JETSON_MODEL:-nano} | ||
|
||
MAINTAINER Helmut Hoffer von Ankershoffen <[email protected]> | ||
|
||
# Install supervisord | ||
RUN apt-get update && \ | ||
apt-get install -y supervisor && \ | ||
|
@@ -105,4 +109,7 @@ EXPOSE 8500 | |
# rest | ||
EXPOSE 8501 | ||
|
||
RUN mkdir -p /meta && \ | ||
date +"%FT%T%Z" > /meta/tensorflow-serving-base.build | ||
|
||
CMD ["/usr/bin/supervisord"] |
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,7 +1,6 @@ | ||
apiVersion: skaffold/v1beta11 | ||
kind: Config | ||
build: | ||
local: {} | ||
tagPolicy: | ||
sha256: {} | ||
artifacts: | ||
|
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 |
---|---|---|
|
@@ -3,6 +3,9 @@ FROM ${FROM} | |
|
||
MAINTAINER Helmut Hoffer von Ankershoffen <[email protected]> | ||
|
||
# Inc on updates of base image | ||
ENV BUMP=1 | ||
|
||
# Install application server | ||
RUN pip install \ | ||
fastapi \ | ||
|
@@ -22,6 +25,7 @@ COPY /models/testdata/saved_model_half_plus_two_mkl /models/half_plus_two | |
# Install testdata | ||
COPY /models/testdata /testdata | ||
|
||
# Workdir is root | ||
WORKDIR / | ||
|
||
# Expose ports | ||
|
@@ -31,3 +35,6 @@ EXPOSE 80 | |
EXPOSE 8500 | ||
# rest | ||
EXPOSE 8501 | ||
|
||
RUN mkdir -p /meta && \ | ||
date +"%FT%T%Z" > /meta/tensorflow-serving.build |
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