Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -733,37 +733,37 @@ Following are the applicable Docker, Podman, or Kubernetes instructions to start

4. Create `buildConfig.yaml`

```shell
```dockerfile
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
name: synthetics-node-api-runtime-build
namespace: <your_namespace>
name: synthetics-node-api-runtime-build
namespace: <your_namespace>
spec:
output:
to:
kind: ImageStreamTag
name: <your_output_image_name>:<output_tag>
source:
type: Dockerfile
dockerfile: |-
FROM newrelic/synthetics-node-api-runtime:latest
USER root
RUN setcap -r /usr/bin/node
USER 2000
strategy:
type: Docker
dockerStrategy:
platform:
architecture: amd64
postCommit: {}
triggers:
- type: ConfigChange
- type: ImageChange
imageChange:
from:
kind: ImageStreamTag
name: <image_stream_name>:latest
output:
to:
kind: ImageStreamTag
name: <your_output_image_name>:<output_tag>
source:
type: Dockerfile
dockerfile: |-
FROM newrelic/synthetics-node-api-runtime:latest
USER root
RUN setcap -r /usr/bin/node
USER 2000
strategy:
type: Docker
dockerStrategy:
platform:
architecture: amd64
postCommit: {}
triggers:
- type: ConfigChange
- type: ImageChange
imageChange:
from:
kind: ImageStreamTag
name: <image_stream_name>:latest
```
5. Apply the `BuildConfig`:

Expand Down
Loading