CosmWasm / optimizer

Dockerfile and script to deterministically produce the smallest possible Wasm for your Rust contract
Apache License 2.0
123 stars 60 forks source link

Docker "latest" tag is not found #90

Closed SteMak closed 12 months ago

SteMak commented 2 years ago

Overview

Docker tag latest is useful as it is possible for scripts using the docker image to be always up-to-date.

Problem

No latest tag found:

docker: Error response from daemon: manifest for \
cosmwasm/rust-optimizer:latest not found: manifest unknown: manifest unknown.

Note

If it may happen that latest tag may be unstable, provide additional stable tag for marking container version tested by time.

webmaster128 commented 2 years ago

What's the use case for that? The builder version should be fixed. Otherwise your builds are not reproducible.

SteMak commented 2 years ago

The main use case is developing. Of course, for production all unstable versions should be locked, but for developing it is better to upgrade dependencies automatically to use the latest version with the newest features.

One more point: template projects, documentation, etc. should not be modified any time new version is released. Example: CosmWasm Docs contains outdated rust-optimizer version and may be easy fixed by using latest tag.

webmaster128 commented 12 months ago

I see your point. However, we should discourage any sort of usage of this project without version pinning as this creates builds that are not reproducible. We should clarify this as part of #101.