ocurrent / ocurrent/docker-base-images

Reduce size of opam-repository git clone

Open
#79 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
OCaml
Stars
32
Forks
22
Avg merge
6h 48m
Merged PRs (30d)
2

Description

At the moment, we copy in the cluster worker's clone of opam-repository, which includes all branches and PRs.

We should instead just clone the master branch directly within the Dockerfile.

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.

Research direction

Start with the Dockerfile that copies the cluster worker's opam-repository clone. Check how the image build currently obtains that repository, then verify the resulting image contains only the master branch and that the Docker image still builds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, dockerfile, git, ocaml
Domain
build-system, devops, infrastructure
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.