Draft: Draft: Slimmed Ubuntu 2004 image, ubuntu base image, and directory restructure #780

Closed
rilesdun wants to merge 5 commits from docker-build-fix into develop
rilesdun commented 2023-01-17 12:36:07 +00:00 (Migrated from gitlab.com)
  • Isolated each Dockerfile into its own directory under the main directory docker
  • Created a base ubuntu image to use to avoid repeated dependency installations (pushed to dockerhub)

The new image size:

updated-version          latest    fbb2a16fb3fd   2 hours ago   296MB

Previous image size:

old-version              latest    6dcfbebc9bc1   8 hours ago    2.38GB

Ubuntu 18 Image still requires updating

- Isolated each Dockerfile into its own directory under the main directory `docker` - Created a base ubuntu image to use to avoid repeated dependency installations (pushed to dockerhub) The new image size: ``` updated-version latest fbb2a16fb3fd 2 hours ago 296MB ``` Previous image size: ``` old-version latest 6dcfbebc9bc1 8 hours ago 2.38GB ``` Ubuntu 18 Image still requires updating
rilesdun commented 2023-01-17 12:36:08 +00:00 (Migrated from gitlab.com)

requested review from @serkixenos and @timur.5

requested review from @serkixenos and @timur.5
rilesdun commented 2023-01-17 12:36:08 +00:00 (Migrated from gitlab.com)

assigned to @rilesdun

assigned to @rilesdun
rilesdun commented 2023-01-17 12:36:18 +00:00 (Migrated from gitlab.com)

approved this merge request

approved this merge request
rilesdun commented 2023-01-17 12:38:40 +00:00 (Migrated from gitlab.com)

requested review from @bobinson

requested review from @bobinson
rilesdun commented 2023-01-17 15:21:51 +00:00 (Migrated from gitlab.com)

added 1 commit

  • d1cc5355 - Update Dockerfile - added mainnet genesis.json file to final runtime image

Compare with previous version

added 1 commit <ul><li>d1cc5355 - Update Dockerfile - added mainnet genesis.json file to final runtime image</li></ul> [Compare with previous version](/PBSA/peerplays/-/merge_requests/200/diffs?diff_id=579643489&start_sha=e4a8764259b55acf311dc75a2508682c9a644c77)
bobinson commented 2023-01-18 07:51:57 +00:00 (Migrated from gitlab.com)

The build instruction for 20.04 is the one given below right ? I have never used building in docker.

docker build --no-cache -f docker/ubuntu20/Dockerfile -t peerplays .

The build instruction for 20.04 is the one given below right ? I have never used building in docker. `docker build --no-cache -f docker/ubuntu20/Dockerfile -t peerplays .`
rilesdun commented 2023-01-18 19:05:32 +00:00 (Migrated from gitlab.com)

added 1 commit

Compare with previous version

added 1 commit <ul><li>e5c1c3cd - added example.config.ini </li></ul> [Compare with previous version](/PBSA/peerplays/-/merge_requests/200/diffs?diff_id=581036513&start_sha=d1cc535579f0f18267f5bc49da19ac45b4ee4c8f)
rilesdun commented 2023-01-18 20:05:59 +00:00 (Migrated from gitlab.com)

added 1 commit

  • f1f969b2 - Update Dockerfile - Creating witness_node_data_dir and taking example...

Compare with previous version

added 1 commit <ul><li>f1f969b2 - Update Dockerfile - Creating witness_node_data_dir and taking example...</li></ul> [Compare with previous version](/PBSA/peerplays/-/merge_requests/200/diffs?diff_id=581075864&start_sha=e5c1c3cd1b68da39156d450ccb6c6eaccecfa2b9)
rilesdun (Migrated from gitlab.com) closed this pull request 2023-03-01 16:53:12 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#780
No description provided.