docker

Build and deploy an NCBI GEO metadata fetch API

Build, containerize, and then deploy a simple serverless web API that returns json-formated metadata for any GEO accession.

Building R Binary Packages for Linux

Background One of the challenges of producing a performant build environment for linux, such as what might be used to have developers test software in identical environments, is the need to compile R packages from source on linux. If, however, one had an identical set of installed libraries, kernel version, compiler, etc., we could use binary packages in linux as well. Docker provides just such a shareable and identical environment for linux.

Container Notes

General notes about using containers

export POOL_NAME='preempt-1' export CLUSTER_NAME='cluster-1' gcloud beta container node-pools create ${POOL_NAME} --preemptible \ --cluster ${CLUSTER_NAME} --enable-autoscaling \ --min-nodes=0 --max-nodes=50 \ --machine-type=n1-standard-2 apiVersion: v1 kind: Job spec: nodeSelector: cloud.google.com/gke-preemptible: "true" template: spec: containers: - name: pyversion image: python:3.7 command: ["python", "--version"] restartPolicy: Never backoffLimit: 4