This commit is contained in:
parent
81c7c88b4f
commit
0eb10a4800
17
.drone.yml
Normal file
17
.drone.yml
Normal 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
9
cpp-ubuntu.Dockerfile
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user