Skip to content
Snippets Groups Projects
Commit 06b48f77 authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.get a new build

parent 36bd7856
No related branches found
No related tags found
No related merge requests found
Pipeline #983 failed with stage
in 36 seconds
image: docker:23.0.1
variables:
# When using dind service, you must instruct docker to talk with the
# daemon started inside of the service. The daemon is available with
# a network connection instead of the default /var/run/docker.sock socket.
#
# The 'docker' hostname is the alias of the service container as described at
# https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#accessing-the-services
#
# If you're using GitLab Runner 12.7 or earlier with the Kubernetes executor and Kubernetes 1.6 or earlier,
# the variable must be set to tcp://localhost:2375 because of how the
# Kubernetes executor connects services to the job container
# DOCKER_HOST: tcp://localhost:2375
#
DOCKER_HOST: tcp://docker:2375
#
# This instructs Docker not to start over TLS.
DOCKER_TLS_CERTDIR: ""
services:
- docker:23.0.1-dind
before_script:
- docker info
build:
stage: build
script:
- docker login -u recolic -p "$docker_pswd"
- docker build -t recolic/cxx-toolkit .
- docker push recolic/cxx-toolkit
...@@ -4,16 +4,19 @@ MAINTAINER root@recolic.net ...@@ -4,16 +4,19 @@ MAINTAINER root@recolic.net
RUN pacman -Syu --noconfirm gcc clang make cmake git lzop RUN pacman -Syu --noconfirm gcc clang make cmake git lzop
# Build this package with another machine, and install it into docker. #### Intel-C++ installer. Disabled.
# COPY ./makepkg /usr/bin/makepkg ## # Build this package with another machine, and install it into docker.
# RUN git clone https://aur.archlinux.org/intel-parallel-studio-xe.git && cd intel-parallel-studio-xe && makepkg -i ## # COPY ./makepkg /usr/bin/makepkg
## # RUN git clone https://aur.archlinux.org/intel-parallel-studio-xe.git && cd intel-parallel-studio-xe && makepkg -i
##
## RUN sed -i 's/#RemoteFileSigLevel = Required/RemoteFileSigLevel = Optional/g' /etc/pacman.conf
## RUN pacman -U --noconfirm https://cnm.cool/res/intel-common-libs-2019.3.199-3-x86_64.pkg.tar.lzo https://cnm.cool/res/intel-openmp-2019.3.199-3-x86_64.pkg.tar.lzo https://cnm.cool/res/intel-compiler-base-2019.3.199-3-x86_64.pkg.tar.lzo
## COPY INTEL_LICENSE_UCB_S4ZD-3DZ7HJTN.lic /opt/intel/licenses/INTEL_LICENSE_UCB_S4ZD-3DZ7HJTN.lic
##
## ENV PATH="/opt/intel/bin/:${PATH}"
## # RUN echo 'export PATH=$PATH:/opt/intel/bin/' >> /root/.bashrc
##
## RUN icpc --version; g++ --version; clang++ --version
RUN sed -i 's/#RemoteFileSigLevel = Required/RemoteFileSigLevel = Optional/g' /etc/pacman.conf RUN g++ --version; clang++ --version
RUN pacman -U --noconfirm https://cnm.cool/res/intel-common-libs-2019.3.199-3-x86_64.pkg.tar.lzo https://cnm.cool/res/intel-openmp-2019.3.199-3-x86_64.pkg.tar.lzo https://cnm.cool/res/intel-compiler-base-2019.3.199-3-x86_64.pkg.tar.lzo
COPY INTEL_LICENSE_UCB_S4ZD-3DZ7HJTN.lic /opt/intel/licenses/INTEL_LICENSE_UCB_S4ZD-3DZ7HJTN.lic
ENV PATH="/opt/intel/bin/:${PATH}"
# RUN echo 'export PATH=$PATH:/opt/intel/bin/' >> /root/.bashrc
RUN icpc --version; g++ --version; clang++ --version
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment