Permalink
Browse files

Add ubuntu bionic

  • Loading branch information...
zachhuff386 committed Dec 1, 2017
1 parent 41db3a8 commit 182d6fae98dc05b816272114db35b729a0421612
Showing with 24 additions and 0 deletions.
  1. +3 −0 README.md
  2. +2 −0 constants/constants.go
  3. +1 −0 docker/clean.sh
  4. +18 −0 docker/ubuntu-bionic/Dockerfile
View
@@ -29,6 +29,7 @@
[![Docker Repository](https://img.shields.io/badge/docker-ubuntu--yakkety-dd4814.svg?style=flat "Docker Repository")](https://registry.hub.docker.com/u/pacur/ubuntu-yakkety/)
[![Docker Repository](https://img.shields.io/badge/docker-ubuntu--zesty-dd4814.svg?style=flat "Docker Repository")](https://registry.hub.docker.com/u/pacur/ubuntu-zesty/)
[![Docker Repository](https://img.shields.io/badge/docker-ubuntu--artful-dd4814.svg?style=flat "Docker Repository")](https://registry.hub.docker.com/u/pacur/ubuntu-artful/)
[![Docker Repository](https://img.shields.io/badge/docker-ubuntu--bionic-dd4814.svg?style=flat "Docker Repository")](https://registry.hub.docker.com/u/pacur/ubuntu-bionic/)
Pacur allows building packages for multiple linux distributions with a
consistent package spec format. Currently `deb`, `rpm` and `pacman` packages
@@ -125,6 +126,7 @@ key:ubuntu="this will apply only to ubuntu builds"
| `ubuntu-yakkety` | Ubuntu yakkety |
| `ubuntu-zesty` | Ubuntu zesty |
| `ubuntu-artful` | Ubuntu artful |
| `ubuntu-bionic` | Ubuntu bionic |
### directives
@@ -157,6 +159,7 @@ key:ubuntu="this will apply only to ubuntu builds"
| `ubuntu-yakkety` | Ubuntu yakkety |
| `ubuntu-zesty` | Ubuntu zesty |
| `ubuntu-artful` | Ubuntu artful |
| `ubuntu-bionic` | Ubuntu bionic |
Directives are used to specify variables that only apply to a limited set of
build targets. All variables can use directives including user definied
View
@@ -29,6 +29,7 @@ var (
"ubuntu-yakkety",
"ubuntu-zesty",
"ubuntu-artful",
"ubuntu-bionic",
}
ReleasesMatch = map[string]string{
"archlinux": "",
@@ -50,6 +51,7 @@ var (
"ubuntu-yakkety": ".yakkety_",
"ubuntu-zesty": ".zesty_",
"ubuntu-artful": ".artful_",
"ubuntu-bionic": ".bionic_",
}
DistroPack = map[string]string{
"archlinux": "pacman",
View
@@ -25,6 +25,7 @@ docker rmi pacur/ubuntu-xenial
docker rmi pacur/ubuntu-yakkety
docker rmi pacur/ubuntu-zesty
docker rmi pacur/ubuntu-artful
docker rmi pacur/ubuntu-bionic
docker rmi amazonlinux:2016.09
docker rmi amazonlinux:2017.03
docker rmi amazonlinux:2017.09
@@ -0,0 +1,18 @@
FROM ubuntu:bionic
MAINTAINER Pacur <contact@pacur.org>
RUN apt-get --assume-yes update
RUN apt-get --assume-yes upgrade
RUN apt-get --assume-yes install build-essential reprepro rsync wget zip git bzr mercurial
RUN wget https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz
RUN tar -C /usr/local -xf go1.9.2.linux-amd64.tar.gz
RUN rm -f go1.9.2.linux-amd64.tar.gz
ENV GOPATH /go
ENV PATH /usr/local/go/bin:$PATH:/go/bin
RUN go get github.com/pacur/pacur
ENTRYPOINT ["pacur"]
CMD ["build", "ubuntu-bionic"]

0 comments on commit 182d6fa

Please sign in to comment.