Skip to content
Snippets Groups Projects
Commit 57fb7edf authored by Michael Thies's avatar Michael Thies
Browse files

Rework container structure

parent 5beaf146
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,11 @@ image: docker
build:
stage: build
script:
- docker image build -t registry.git.rwth-aachen.de/acplt/rte-tools/rte-build-docker-image/image .
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push registry.git.rwth-aachen.de/acplt/rte-tools/rte-build-docker-image/image
- docker image build -t registry.git.rwth-aachen.de/acplt/build-docker-image/build-essential build-essential
- docker image build -t registry.git.rwth-aachen.de/acplt/build-docker-image/rte-build rte-build
- docker image build -t registry.git.rwth-aachen.de/acplt/build-docker-image/rte-crossbuild rte-crossbuild
- docker push registry.git.rwth-aachen.de/acplt/build-docker-image/build-essential
- docker push registry.git.rwth-aachen.de/acplt/build-docker-image/rte-build
- docker push registry.git.rwth-aachen.de/acplt/build-docker-image/rte-crossbuild
- docker logout $CI_REGISTRY
FROM ubuntu:19.04
RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime && apt-get update -qq && apt-get install -y -qq --no-install-recommends gcc libc6-dev make git ca-certificates bison flex tcl cmake gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-mingw-w64-x86-64 binutils-mingw-w64-x86-64
FROM ubuntu:19.04
RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends gcc g++ libc-dev make cmake git ca-certificates && rm -rf /var/lib/apt/lists/*
FROM registry.git.rwth-aachen.de/acplt/build-docker-image/build-essential
RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends bison flex tcl && rm -rf /var/lib/apt/lists/*
FROM registry.git.rwth-aachen.de/acplt/build-docker-image/rte-build
RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-mingw-w64-x86-64 binutils-mingw-w64-x86-64 && rm -rf /var/lib/apt/lists/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment