Ubuntu C++ image
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Erki 2021-03-14 15:49:12 +02:00
parent 81c7c88b4f
commit 0eb10a4800
2 changed files with 26 additions and 0 deletions

17
.drone.yml Normal file
View File

@ -0,0 +1,17 @@
kind: pipeline
type: docker
name: default
steps:
- name: build cpp-ubuntu
image: docker
commands:
- docker build -t erki/cpp-ubuntu:latest - < cpp-ubuntu.Dockerfile
volumes:
- name: docker_socket
path: /var/run/docker.sock
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock

9
cpp-ubuntu.Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -y
RUN apt-get install -y --no-install-recommends git build-essential cmake ninja-build python3 python3-pip
RUN pip3 install --upgrade conan
RUN conan profile new default --detect
RUN conan profile update settings.compiler.libcxx=libstdc++11 default