Skip to content

Instantly share code, notes, and snippets.

@ll911
Created November 10, 2018 22:47
Show Gist options
  • Save ll911/dff014d724d48db2c8f1a447782222d7 to your computer and use it in GitHub Desktop.
Save ll911/dff014d724d48db2c8f1a447782222d7 to your computer and use it in GitHub Desktop.
bcdc-atomic-migration.bc.yaml
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
labels:
app: bcdc-atomic-migration
name: bcdc-atomic-migration
spec:
failedBuildsHistoryLimit: 5
output:
to:
kind: ImageStreamTag
name: bcdc-atomic-base:latest
source:
dockerfile: |-
FROM docker-registry.default.svc:5000/dbc-bcdc-dev/bcdc-atomic-base:dev
ENV APP_DIR=/app \
SRC_DIR=/app/src \
CKAN_INI=/conf/ckan.ini \
CKAN_STORAGE_PATH=/var/lib/ckan
type: Dockerfile
strategy:
dockerStrategy:
from:
kind: DockerImage
name: docker-registry.default.svc:5000/dbc-bcdc-dev/bcdc-atomic-base:dev
type: Docker
successfulBuildsHistoryLimit: 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment