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

Docker image issues #2741

Open
3 of 17 tasks
abitmore opened this issue Mar 30, 2023 · 0 comments
Open
3 of 17 tasks

Docker image issues #2741

abitmore opened this issue Mar 30, 2023 · 0 comments

Comments

@abitmore
Copy link
Member

abitmore commented Mar 30, 2023

Description

As of writing, we use phusion/baseimage:focal-1.2.0 (code) as the base image of our Docker image.

Issues:

  • The phusion/baseimage:focal-1.2.0 Docker image on Docker Hub was pushed a year ago and has not been updated since. There are new jammy-* images, but so far we do not support Ubuntu Jammy. Although we do apt-get upgrade when building and running our own images, these commands bloat the image. Ideally the base image should be updated regularly when there are updates to its own base image or packages, even if there are no code changes in itself (also see Rebuild Docker images with the latest security updates from time to time #2667).
  • The phusion base image comes preinstalled with some utilities and services that we don't really need, which bloat the image and potentially introduce vulnerabilities. We can do apt-get remove when building our own images, but this will not reduce our image size.

Nevertheless, we don't want to simply change our base image to ubuntu:20.04, because the phusion base image does have a lot of good stuff.

Potential solutions:

Impacts
Describe which portion(s) of BitShares Core may be impacted by this bug. Please tick at least one box.

  • API (the application programming interface)
  • Build (the build process or something prior to compiled code)
  • CLI (the command line wallet)
  • Deployment (the deployment process after building such as Docker, Travis, etc.)
  • DEX (the Decentralized EXchange, market engine, etc.)
  • P2P (the peer-to-peer network for transaction/block propagation)
  • Performance (system or user efficiency, etc.)
  • Protocol (the blockchain logic, consensus, validation, etc.)
  • Security (the security of system or user data, etc.)
  • UX (the User Experience)
  • Other (please add below)

CORE TEAM TASK LIST

  • Evaluate / Prioritize Bug Report
  • Refine User Stories / Requirements
  • Define Test Cases
  • Design / Develop Solution
  • Perform QA/Testing
  • Update Documentation
@abitmore abitmore added this to To do in Feature Release (7.1.0) via automation Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant