Skip to content

Commit cb45dda

Browse files
review
1 parent 8671cb1 commit cb45dda

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

jobs/instances-snapshot-cleaner/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ COPY *.go ./
1313
RUN go build -o /jobs-snapshot-cleaner
1414

1515
# Run the executable
16-
CMD [ "/jobs-snapshot-cleaner" ]
16+
ENTRYPOINT [ "/jobs-snapshot-cleaner" ]

jobs/instances-snapshot-cleaner/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This simple example shows how to clean up snapshots after X days, it's useful to
1111
- Scaleway Account
1212
- Docker daemon running to build the image
1313
- Container registry namespace created, for this example we assume that your namespace name is `jobs-snapshot-cleaner`: [doc here](https://www.scaleway.com/en/docs/containers/container-registry/how-to/create-namespace/)
14+
- API keys generated, Access Key and Secret Key [doc here](https://www.scaleway.com/en/docs/iam/how-to/create-api-keys/)
1415

1516
## Step 1 : Build and push to Container registry
1617

jobs/instances-snapshot/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ COPY *.go ./
1313
RUN go build -o /jobs-snapshot
1414

1515
# Run the executable
16-
CMD [ "/jobs-snapshot" ]
16+
ENTRYPOINT [ "/jobs-snapshot" ]

jobs/instances-snapshot/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This example is very simple, it generates snapshots of your desired Instance.
1111
- Scaleway Account
1212
- Docker daemon running to build the image
1313
- Container registry namespace created, for this example we assume that your namespace name is `jobs-snapshot`: [doc here](https://www.scaleway.com/en/docs/containers/container-registry/how-to/create-namespace/)
14+
- API keys generated, Access Key and Secret Key [doc here](https://www.scaleway.com/en/docs/iam/how-to/create-api-keys/)
1415

1516
## Step 1 : Build and push to Container registry
1617

0 commit comments

Comments
 (0)