Skip to content
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

Overhaul Dockerfile and workflows #946

Merged

Conversation

tombeynon
Copy link
Collaborator

@tombeynon tombeynon commented Jan 8, 2025

This PR overhauls the Dockerfile, GitHub workflows and updates base images to latest stable versions. The main changes are:

  • Updates the default base image to debian:bookworm-slim (version 12)
  • Updates the default build image to golang:1.21-bookworm
  • Rewrites the Dockerfile to minimise the number of layers, reduce image sizes and improve structure
  • Removes the aws CLI and instead uses the much smaller s3cmd package
  • Removes the source installation of zstd in favour of the apt package
  • Improves the publish workflow to dynamically build all images, avoiding manual changes
  • Improves the test workflow to only run tests for changed directories
  • Improves the test workflow to run noded version and ensure it returns the correct value
  • Updates and fixes issues with various chains raised by the new test workflow
  • Adds a WASMVM_VERSION helper to download wasmvm at runtime
  • Improves the build workflow for prebuilt binaries distributed in zip and tar(.gz) files
  • Renames run.sh to entrypoint.sh

@tombeynon tombeynon linked an issue Jan 8, 2025 that may be closed by this pull request
@tombeynon tombeynon merged commit 78f098c into akash-network:master Jan 8, 2025
67 checks passed
@tombeynon tombeynon deleted the overhaul-dockerfile-and-workflows branch January 8, 2025 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup automated tests to run on push
1 participant