mirror of
https://github.com/minoplhy/docker-ripe-atlas.git
synced 2025-04-21 12:26:59 +00:00
do not upload softlink
This commit is contained in:
parent
366a9f7c42
commit
5662bce754
15
README.md
15
README.md
@ -6,13 +6,26 @@ This is the [RIPE Atlas software probe](https://atlas.ripe.net/docs/software-pro
|
||||
|
||||
## Running
|
||||
|
||||
First we start the container:
|
||||
|
||||
```shell
|
||||
docker run \
|
||||
docker run -d \
|
||||
--restart=unless-stopped \
|
||||
--memory=256m \
|
||||
--cap-add=SYS_ADMIN --cap-add=CAP_NET_RAW --cap-add=CAP_CHOWN \
|
||||
--mount type=tmpfs,destination=/var/atlasdata \
|
||||
--mount type=bind,src=/var/atlas-probe/etc,dst=/var/atlas-probe/etc \
|
||||
--mount type=bind,src=/var/atlas-probe/status,dst=/var/atlas-probe/status \
|
||||
--name ripe-atlas \
|
||||
jamesits/ripe-atlas:latest
|
||||
```
|
||||
|
||||
Then we fetch the generated public key:
|
||||
|
||||
```
|
||||
cat /var/atlas-probe/etc/probe_key.pub
|
||||
```
|
||||
|
||||
[Register](https://atlas.ripe.net/apply/swprobe/) the probe with your public key.
|
||||
|
||||
|
||||
|
@ -47,6 +47,8 @@ jobs:
|
||||
docker images --digests ripe-atlas
|
||||
BUILDER_IMAGE_ID=$(docker ps -a --format="{{.ID}}" --filter="label=image=ripe-atlas-builder" --filter="status=exited" --latest)
|
||||
docker cp "$BUILDER_IMAGE_ID":/root /tmp
|
||||
rm -rf /tmp/root/atlasswprobe-*-work
|
||||
rm -rf /tmp/root/atlasswprobe-*/var/atlas-probe/data
|
||||
cp -r /tmp/root/atlasswprobe* ${BUILD_ARTIFACTSTAGINGDIRECTORY}
|
||||
displayName: "Build image"
|
||||
|
||||
@ -55,7 +57,7 @@ jobs:
|
||||
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
||||
artifactName: 'deb'
|
||||
parallel: true
|
||||
parallelCount: 10
|
||||
parallelCount: 20
|
||||
|
||||
- task: Docker@1
|
||||
displayName: "Docker login"
|
||||
|
Loading…
x
Reference in New Issue
Block a user