-
Notifications
You must be signed in to change notification settings - Fork 586
Docker for mina-archive-maintenance #15418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dkijania
merged 12 commits into
compatible
from
dkijania/docker_for_mina_archive_maintenance
Mar 29, 2024
Merged
Changes from 9 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
0a6e6e3
Added docker for mina-archive-maintenance
dkijania d5c43c8
Bump up toolchain images
dkijania cc5be3c
remove container images change from caqti-compatible.patch
dkijania 022abc6
Merge branch 'compatible' into dkijania/docker_for_mina_archive_maint…
dkijania 5854129
Update toolchain with git-lfs
dkijania c7a0036
Merge remote-tracking branch 'origin/dkijania/docker_for_mina_archive…
dkijania 68a55cc
Bump toolchains
dkijania d5fbec8
fix mina-archive-maintenance name
dkijania 1b38082
do not put archive apps to maintenance debian but install both in docker
dkijania d886214
Update build-release-archives.sh
dkijania 7d74084
Update ContainerImages.dhall
dkijania ac6843d
replacing git restore with git reset --hard as some toolchain does no…
dkijania File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,43 @@ | ||
| ARG image=debian:bullseye-slim | ||
| FROM ${image} | ||
|
|
||
| # Run with `docker build --build-arg deb_version=<version>` | ||
| ARG deb_version | ||
| ARG deb_codename=stretch | ||
| ARG deb_release=alpha | ||
|
|
||
| ENV DEBIAN_FRONTEND noninteractive | ||
| RUN echo "Building image with version $deb_codename $deb_release $deb_version" | ||
|
|
||
| COPY scripts/archive-entrypoint.sh /entrypoint.sh | ||
| RUN chmod +x /entrypoint.sh | ||
|
|
||
| # Dependencies | ||
| RUN apt-get update --quiet --yes \ | ||
| && apt-get upgrade --quiet --yes \ | ||
| && apt-get install --quiet --yes --no-install-recommends \ | ||
| procps \ | ||
| curl \ | ||
| jq \ | ||
| dumb-init \ | ||
| libssl1.1 \ | ||
| libgomp1 \ | ||
| libpq-dev \ | ||
| apt-transport-https \ | ||
| ca-certificates \ | ||
| dnsutils \ | ||
| tzdata \ | ||
| postgresql \ | ||
| postgresql-contrib \ | ||
| apt-utils \ | ||
| procps \ | ||
| man \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| # archive-node package | ||
| RUN echo "deb [trusted=yes] http://packages.o1test.net $deb_codename $deb_release" > /etc/apt/sources.list.d/o1.list \ | ||
| && apt-get update --quiet --yes \ | ||
| && apt-get install --quiet --yes "mina-archive=$deb_version" "mina-archive-maintenance=$deb_version" \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| ENTRYPOINT ["/usr/bin/dumb-init", "/entrypoint.sh"] |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is scary to me, i hope it is needed :o
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i see now.