-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
18c1cd3
commit 8c44f9d
Showing
5 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
exec docker build -t sleepy-updater . | ||
|
||
! dependabot update go_modules dependabot/cli --timeout 1s --updater-image sleepy-updater | ||
stderr 'update timed out after 1s' | ||
|
||
exec docker rmi -f sleepy-updater | ||
|
||
-- Dockerfile -- | ||
FROM ubuntu:22.04 | ||
|
||
RUN useradd dependabot | ||
|
||
COPY --chown=dependabot --chmod=755 update-ca-certificates /usr/bin/update-ca-certificates | ||
COPY --chown=dependabot --chmod=755 run bin/run | ||
|
||
-- update-ca-certificates -- | ||
#!/usr/bin/env bash | ||
|
||
echo "Updated those certificates for ya" | ||
|
||
-- run -- | ||
#!/usr/bin/env bash | ||
|
||
sleep 10 |