Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mmcc/runscope-agent-docker
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: marketforces/docker-runscope-agent
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 5 commits
  • 3 files changed
  • 2 contributors

Commits on Aug 30, 2018

  1. Copy the full SHA
    8d47b1f View commit details
  2. [#160024357] Commenting out cloudbuild.yaml caching step for initial …

    …build
    Ryan White committed Aug 30, 2018
    Copy the full SHA
    536e006 View commit details
  3. [#160024357] Re-adding cloudbuild.yaml caching step

    Ryan White committed Aug 30, 2018
    Copy the full SHA
    5b1e10b View commit details

Commits on Feb 3, 2020

  1. Copy the full SHA
    1c140ba View commit details
  2. Copy the full SHA
    6a65d84 View commit details
Showing with 24 additions and 4 deletions.
  1. +3 −4 Dockerfile
  2. +2 −0 README.md
  3. +19 −0 cloudbuild.yaml
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM debian:wheezy
FROM frolvlad/alpine-glibc

RUN apt-get update && apt-get install wget unzip -y
RUN apk add --no-cache bash curl openssl tar gzip ca-certificates

ADD radar.conf.example /etc/runscope-radar/radar.conf
ADD run.sh /usr/local/bin/run.sh
RUN chmod +x /usr/local/bin/run.sh

RUN wget http://s3.amazonaws.com/runscope-downloads/runscope-radar/latest/linux-amd64/runscope-radar.zip && \
unzip runscope-radar.zip -d /usr/local/bin/ && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* runscope-radar.zip
unzip runscope-radar.zip -d /usr/local/bin/

CMD ["/usr/local/bin/run.sh"]
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
FORKED FROM https://github.com/mmcc/runscope-agent-docker on 8/29/2018
----------------------------------------------------------------------
# Runscope Radar Docker Agent

This is light-weight Docker image for running the [Runscope Radar](https://www.runscope.com/docs/radar/agent) on-premise agent.
19 changes: 19 additions & 0 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
steps:
- name: 'gcr.io/cloud-builders/docker'
args: ['pull', 'us.gcr.io/$PROJECT_ID/runscope-radar-agent:master-latest']
- name: 'gcr.io/cloud-builders/docker'
args: [
'build',
'--cache-from',
'us.gcr.io/$PROJECT_ID/runscope-radar-agent:master-latest',
'-t',
'us.gcr.io/$PROJECT_ID/runscope-radar-agent:$BRANCH_NAME-$REVISION_ID',
'-t',
'us.gcr.io/$PROJECT_ID/runscope-radar-agent:master-latest',
'-t',
'us.gcr.io/$PROJECT_ID/runscope-radar-agent:latest',
'-f',
'Dockerfile',
'.'
]
images: ['us.gcr.io/$PROJECT_ID/runscope-radar-agent:$BRANCH_NAME-$REVISION_ID', 'us.gcr.io/$PROJECT_ID/runscope-radar-agent:master-latest', 'us.gcr.io/$PROJECT_ID/runscope-radar-agent:latest']