Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from scottwittenburg/some-docker-fixes
WIP: Some docker fixes
- Loading branch information
Showing
25 changed files
with
478 additions
and
138 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,3 +1,4 @@ | ||
[defaults] | ||
host_key_checking = False | ||
library=~/.ansible/roles/girder.girder/library | ||
library=~/.ansible/roles/girder.girder/library | ||
remote_tmp=/tmp |
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,8 +1,6 @@ | ||
|
||
- hosts: girder_setup | ||
vars: | ||
ansible_python_interpreter: "/usr/local/bin/python" | ||
connection: local | ||
roles: | ||
- role: girder | ||
tags: girder_setup | ||
tags: girder_setup |
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,8 +1,9 @@ | ||
ansible_python_interpreter: "/usr/local/bin/python" | ||
dev: yes | ||
girder_host: girder | ||
girder_port: 8080 | ||
girder_api_root: '/api/v1' | ||
girder_scheme: 'http' | ||
hpccloud_password: letmein | ||
cumulus_password: letmein | ||
demo_password: letmein | ||
demo_password: letmein |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Go back to an older compose format version due to a bug | ||
# where 'runtime' is available in version 2.3 but not 3 | ||
# https://github.com/docker/compose/issues/6239 | ||
version: '2.3' | ||
services: | ||
|
||
compute: | ||
image: kitware/hpccloud:nvidia-compute-pyfr | ||
build: | ||
context: . | ||
dockerfile: docker/compute-pyfr/Dockerfile | ||
args: | ||
- BASE_IMG=kitware/hpccloud:nvidia-sge-ssh | ||
hostname: compute | ||
runtime: nvidia | ||
volumes: | ||
- scratch.hc:/scratch | ||
networks: | ||
- hc | ||
ports: | ||
- "2201:22" | ||
|
||
visualize: | ||
image: kitware/hpccloud:visualize-egl | ||
build: | ||
context: . | ||
dockerfile: docker/visualize-egl/Dockerfile | ||
args: | ||
- PARAVIEW_TAG=v5.6.1 | ||
- SUPERBUILD_TAG=v5.6.1 | ||
hostname: visualize | ||
runtime: nvidia | ||
volumes: | ||
- scratch.hc:/scratch | ||
networks: | ||
- hc | ||
ports: | ||
- "2202:22" | ||
- "9090:9090" |
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,3 +1,3 @@ | ||
#!/bin/sh | ||
cd /ansible | ||
ansible-playbook -i inventory/localhost dev.yml | ||
ansible-playbook -i inventory/localhost dev.yml |
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,38 @@ | ||
# Docker file for 18.04 Ubuntu with 3.6 Python | ||
# | ||
# To replace basic Ubuntu image with one ready for NVidia egl | ||
# builds, specify the BASE_IMAGE build argument when building: | ||
# | ||
# docker build --build-arg BASE_IMAGE=nvidia/opengl:1.0-glvnd-devel-ubuntu18.04 -t kitware/hpccloud:nvidia-bionic-python . | ||
# | ||
|
||
ARG UBUNTU_VERSION=18.04 | ||
ARG PYTHON_VERSION=3.6 | ||
ARG BASE_IMAGE=ubuntu:18.04 | ||
|
||
FROM ubuntu:${UBUNTU_VERSION} | ||
FROM ${BASE_IMAGE} | ||
|
||
LABEL maintainer="patrick.oleary@kitware.com" \ | ||
version="1.0" | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
build-essential \ | ||
git \ | ||
locales \ | ||
python3.6 \ | ||
python3-dev \ | ||
python3-setuptools \ | ||
python3-pip && \ | ||
update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && \ | ||
locale-gen en_US.UTF-8 && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
# Add LANG default to en_US.UTF-8 | ||
ENV LANGUAGE en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
ENV LC_ALL en_US.UTF-8 | ||
|
||
FROM python:${PYTHON_VERSION} | ||
|
||
RUN pip install supervisor && \ | ||
RUN pip3 install supervisor && \ | ||
mkdir /var/log/supervisor && \ | ||
chmod 0777 /var/log/supervisor | ||
|
||
# overwrite this with 'CMD []' in a dependent Dockerfile | ||
CMD ["/bin/bash"] | ||
CMD ["/bin/bash"] |
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
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
Oops, something went wrong.