Commit 6f36b9a7 authored by Nicolas Dufresne's avatar Nicolas Dufresne

Add Docker file and use it to populate the registry

parent 0cc2402f
Pipeline #28894024 passed with stage
in 5 minutes and 22 seconds
......@@ -9,3 +9,5 @@ build-docker:
script:
- docker info
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
- docker build -t registry.gitlab.com/burgerman/espresso-for-geeks/fedora .
- docker push registry.gitlab.com/burgerman/espresso-for-geeks/fedora
FROM fedora:28
RUN echo fastestmirror=1 >> /etc/dnf/dnf.conf && \
dnf -y update && \
dnf -y install make arm-none-eabi-newlib arm-none-eabi-gcc-cs-c++ arm-none-eabi-gcc-cs && \
dnf clean all
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment