Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

improve dockerfiles #4275

Closed
wants to merge 4 commits into from
Closed

improve dockerfiles #4275

wants to merge 4 commits into from

Conversation

sevenrats
Copy link

improve dockerfiles by removing unnecessary layers and greatly reducing size.
remove sed line that causes insecure exposure -- users must use proper configs.
adds a proper init, catatonit, selected for modern signal handling.

Dockerfile.latest Outdated Show resolved Hide resolved
@sevenrats
Copy link
Author

worth mentioning, probably, that this configuration removes the package manager, apk, so, it would be impractical to build containers out of this one. I think it's appropriate to remove i if the container is not explicitly a base layer for other stuff, but it's up to you guys.

@sevenrats sevenrats marked this pull request as draft January 13, 2023 17:22
@sevenrats
Copy link
Author

contains a bug where will always init because $IPFS_PATH is not a file, change to -d or point to PATH/config

@achingbrain
Copy link
Member

Thank you so much for opening this PR and for your patience in getting it merged. js-ipfs is being deprecated in favor of Helia. You can #4336 and read the migration guide.

Sorry we never got to this.

@achingbrain achingbrain closed this Jun 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants