Update accumulo-proxy Docker container to be more size efficient

Open
#22 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker

Research direction

Start by reading the download_bin() method in accumulo-proxy and the Dockerfile in the linked accumulo-docker repository. Trace how the tar is downloaded and extracted, then update both locations so the archive is not stored before extraction; done means the container builds successfully without the intermediate archive.

Written by the indexing model from the issue text.

Description

During the pull request here: https://github.com/apache/accumulo-proxy/pull/20 @mjwall spotted that we were being a bit inefficient with our container size by storing the tar before extracting it.

This should be cleaned up and ideally done in a single step by updating the download_bin() method.

For consistency sakes we should also ideally do this on the accumulo-docker repo https://github.com/apache/accumulo-docker/blob/master/Dockerfile

Dominant language
Java
Stars
11
Forks
21
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/accumulo-proxy

All issues in apache/accumulo-proxy

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.