Skip to content

exercism/swift-docker-base

Swift Docker Base

A base Docker image for Exercism's Swift Test Runner.
The image is based on the official Swift Docker image and has been modified to reduce its size by removing unused software.

Building and Testing

Docker is required to run tests locally.
Running bin/ci_build.sh will build the Docker image and test it using a dummy Swift CLI project.
The build log will include some meta-information about the Docker image.

Reducing docker image size

To reduce image size the following techics are applied:

  1. Docker number of layers is minimal.
  2. All binaries that are not take part in build and test process are removed.
  3. Required binaries are stripped with strip.

Note

Any new techniques should not degrade the build performance of Exercism track tools that are based on this image.

License

This repository includes Dockerfile from swiftlang/swift-docker, originally licensed under the Apache License 2.0. The rest of the repository is licensed under the AGPL-3.0.

About

No description, website, or topics provided.

Resources

License

AGPL-3.0, Apache-2.0 licenses found

Licenses found

AGPL-3.0
LICENSE
Apache-2.0
LICENSE-APACHE-2.0

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Contributors 3

  •  
  •  
  •