Skip to content

Commit

Permalink
Don't attach TTY on build
Browse files Browse the repository at this point in the history
  • Loading branch information
samdbmg committed Sep 13, 2023
1 parent abfc99c commit 8fc8069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ build-lint:
DOCKER_BUILDKIT=1 docker build -f Dockerfile.multi --build-arg VERSION=0.0.1 --build-arg BUILD_TAG=local --target oasvalidate -t tams_api_oasvalidate:local .

lint: build-lint
docker run --rm -ti tams_api_oasvalidate:local lint /data/TimeAddressableMediaStore.yaml
docker run --rm tams_api_oasvalidate:local lint /data/TimeAddressableMediaStore.yaml


build-render:
docker pull ap-docker.artifactory.labs.bbc/cloudfit/cloudfit_base:latest >/dev/null 2>/dev/null || true
DOCKER_BUILDKIT=1 docker build -f Dockerfile.multi --build-arg VERSION=0.0.1 --build-arg BUILD_TAG=local --target oasrender -t tams_api_oasrender:local .

render: build-render
docker run --rm -ti -v "${topdir}/docs:/docs" tams_api_oasrender:local bundle /data/TimeAddressableMediaStore.yaml -o /docs/TimeAddressableMediaStore.html
docker run --rm -v "${topdir}/docs:/docs" tams_api_oasrender:local bundle /data/TimeAddressableMediaStore.yaml -o /docs/TimeAddressableMediaStore.html


mock-server-up:
Expand Down

0 comments on commit 8fc8069

Please sign in to comment.