diff --git a/.travis.yml b/.travis.yml index bf71152..917f43b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index 0c03bec..36970bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/*