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

Optimize Dockerfile for Smart Contract compilation #23

Open
3 tasks
achimcc opened this issue Oct 6, 2021 · 0 comments
Open
3 tasks

Optimize Dockerfile for Smart Contract compilation #23

achimcc opened this issue Oct 6, 2021 · 0 comments
Labels
Docker Issue requires Docker skills size-md

Comments

@achimcc
Copy link
Contributor

achimcc commented Oct 6, 2021

Check the currently used Dockerfile:

https://github.com/achimcc/ink-backend/blob/main/compiler/Dockerfile

Used by https://github.com/achimcc/ink-backend/blob/main/src/sandbox.rs to compile ink! Smart Contracts to WASM

Try to opmtimize the build performance. Currently the build process slows down drastically if the genereated Dockerimage is > 1 day old.

(!) Docker commands should be changed to be executed as non-root user for securioty concerns

Is Caching possible in the build process? Keep in mind that concurrent builds should be possible. Check if https://github.com/paritytech/cachepot is useful.

Tasks:

@achimcc achimcc added Docker Issue requires Docker skills size-md labels Oct 6, 2021
@achimcc achimcc added this to the ink! playground v1.0 release milestone Oct 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Docker Issue requires Docker skills size-md
Projects
None yet
Development

No branches or pull requests

1 participant