mirror of
https://github.com/digitalocean/ceph_exporter
synced 2024-12-17 20:55:16 +00:00
nautilus branch should use nautilus packages
This commit is contained in:
parent
1df560f980
commit
22480b90b0
@ -1,6 +1,6 @@
|
||||
language: go
|
||||
sudo: required
|
||||
dist: trusty
|
||||
dist: bionic
|
||||
|
||||
go:
|
||||
- 1.9.2
|
||||
@ -10,7 +10,7 @@ env:
|
||||
|
||||
before_install:
|
||||
- wget -q -O- 'https://download.ceph.com/keys/release.asc' | sudo apt-key add -
|
||||
- echo deb https://download.ceph.com/debian-luminous/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list
|
||||
- echo deb https://download.ceph.com/debian-nautilus/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install -y librados-dev librbd-dev
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM ubuntu:16.04 as builder
|
||||
FROM ubuntu:18.04 as builder
|
||||
MAINTAINER Vaibhav Bhembre <vaibhav@digitalocean.com>
|
||||
|
||||
ENV GOROOT /goroot
|
||||
@ -10,7 +10,7 @@ RUN apt-get update && \
|
||||
apt-get install -y apt-transport-https build-essential git curl wget
|
||||
|
||||
RUN wget -q -O- 'https://download.ceph.com/keys/release.asc' | apt-key add -
|
||||
RUN echo "deb https://download.ceph.com/debian-luminous xenial main" >> /etc/apt/sources.list
|
||||
RUN echo "deb https://download.ceph.com/debian-nautilus bionic main" >> /etc/apt/sources.list
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --force-yes librados-dev librbd-dev
|
||||
@ -31,7 +31,7 @@ MAINTAINER Vaibhav Bhembre <vaibhav@digitalocean.com>
|
||||
RUN apt-get update && \
|
||||
apt-get install -y apt-transport-https curl wget
|
||||
RUN wget -q -O- 'https://download.ceph.com/keys/release.asc' | apt-key add -
|
||||
RUN echo "deb https://download.ceph.com/debian-luminous xenial main" >> /etc/apt/sources.list && \
|
||||
RUN echo "deb https://download.ceph.com/debian-nautilus bionic main" >> /etc/apt/sources.list && \
|
||||
apt-get update && \
|
||||
apt-get install -y --force-yes librados2 librbd1 ceph-common && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
Loading…
Reference in New Issue
Block a user