Add/update Dockerfile templates from Draft

Problem to solve

GitLab currently provides a set of Dockerfile templates to help users get started quickly with CI. However, we are currently missing examples for some common languages, like Swift, C#, Rust, and Erlang.

Proposal

Draft has some packs to handle several languages. They're not particularly sophisticated, but there are some languages that we don't have templates for, such as Swift. We should take a look at https://github.com/Azure/draft/tree/master/packs and see if it's worth adding any missing languages and double-checking the languages we have.

We should continue to use expanded Dockerfiles rather than using onbuild base images.

Links / references

Intended users

  • Rachel (Release Manager)
  • Delaney (Development Team Lead)
  • Sasha (Software Developer)
  • Devon (DevOps Engineer)
  • Sidney (Systems Administrator)
  • Simone (Software Engineer in Test)

Further details

Permissions and Security

  • There are no permissions changes required for this change

Documentation

  • We don't currently document or promote these templates. We will need to find a place to do so.

Availability & Testing

  • Test that for each template, that you can start a project using it and successfully build and publish an image to the Container Registry.

What does success look like, and how can we measure that?

  • Success looks like we help the community get started with GitLab CI as easily as possible and that the community also contributes similar examples.

Is this a cross-stage feature?

Links / references

Edited Jul 20, 2020 by Tim Rizzi
Assignee Loading
Time tracking Loading