Starting with dockerfiles
This commit is contained in:
parent
694878d1d3
commit
a95d5771de
8 changed files with 77 additions and 0 deletions
17
docker/build-nightly-bootstrap/debian/Dockerfile
Normal file
17
docker/build-nightly-bootstrap/debian/Dockerfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM debian
|
||||
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
||||
RUN dnf -y update
|
||||
RUN dnf -y install bash
|
||||
# locale stuff, see: https://superuser.com/questions/959380/how-do-i-install-generate-all-locales-on-fedora
|
||||
RUN echo "%_install_langs C:en:en_US:en_US.UTF-8" > /etc/rpm/macros.image-language-conf
|
||||
RUN dnf -y reinstall glibc-common
|
||||
# packages required to build and run apiserver.
|
||||
RUN dnf -y install g++ gcc make automake autoconf libtool libcurl-devel
|
||||
COPY apiserver-0.1.1.tar.gz /
|
||||
WORKDIR /
|
||||
RUN tar xvf apiserver-0.1.1.tar.gz
|
||||
WORKDIR apiserver-0.1.1
|
||||
RUN zsh ./configure --prefix=/usr --disable-dependency-tracking
|
||||
RUN ["make", "install"]
|
||||
EXPOSE 8000
|
||||
ENTRYPOINT ["/usr/bin/apiserver"]
|
||||
17
docker/build-nightly-bootstrap/debian/Dockerfile~
Normal file
17
docker/build-nightly-bootstrap/debian/Dockerfile~
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM fedora
|
||||
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
||||
RUN dnf -y update
|
||||
RUN dnf -y install bash
|
||||
# locale stuff, see: https://superuser.com/questions/959380/how-do-i-install-generate-all-locales-on-fedora
|
||||
RUN echo "%_install_langs C:en:en_US:en_US.UTF-8" > /etc/rpm/macros.image-language-conf
|
||||
RUN dnf -y reinstall glibc-common
|
||||
# packages required to build and run apiserver.
|
||||
RUN dnf -y install g++ gcc make automake autoconf libtool libcurl-devel
|
||||
COPY apiserver-0.1.1.tar.gz /
|
||||
WORKDIR /
|
||||
RUN tar xvf apiserver-0.1.1.tar.gz
|
||||
WORKDIR apiserver-0.1.1
|
||||
RUN zsh ./configure --prefix=/usr --disable-dependency-tracking
|
||||
RUN ["make", "install"]
|
||||
EXPOSE 8000
|
||||
ENTRYPOINT ["/usr/bin/apiserver"]
|
||||
2
docker/build-nightly-bootstrap/debian/Makefile
Normal file
2
docker/build-nightly-bootstrap/debian/Makefile
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
all :
|
||||
sudo docker build -t mozilla/build-nightly-bootstrap-debian .
|
||||
3
docker/build-nightly-bootstrap/debian/Makefile~
Normal file
3
docker/build-nightly-bootstrap/debian/Makefile~
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
all :
|
||||
# sudo docker build -t stanzabird/apiserver .
|
||||
sudo docker build -t mozilla/build-nightly-bootstrap .
|
||||
16
docker/build-nightly-bootstrap/fedora/Dockerfile
Normal file
16
docker/build-nightly-bootstrap/fedora/Dockerfile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
FROM fedora
|
||||
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
||||
RUN dnf -y update
|
||||
RUN dnf -y install bash zsh
|
||||
# locale stuff, see: https://superuser.com/questions/959380/how-do-i-install-generate-all-locales-on-fedora
|
||||
RUN echo "%_install_langs C:en:en_US:en_US.UTF-8" > /etc/rpm/macros.image-language-conf
|
||||
RUN dnf -y reinstall glibc-common
|
||||
# packages required to build and run apiserver.
|
||||
RUN dnf -y install g++ gcc make automake autoconf libtool libcurl-devel
|
||||
COPY apiserver-0.1.1.tar.gz /
|
||||
WORKDIR /
|
||||
RUN tar xvf apiserver-0.1.1.tar.gz
|
||||
WORKDIR apiserver-0.1.1
|
||||
RUN zsh ./configure --prefix=/usr --disable-dependency-tracking
|
||||
RUN ["make", "install"]
|
||||
RUN ["make", "dist"]
|
||||
17
docker/build-nightly-bootstrap/fedora/Dockerfile~
Normal file
17
docker/build-nightly-bootstrap/fedora/Dockerfile~
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM fedora
|
||||
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
||||
RUN dnf -y update
|
||||
RUN dnf -y install bash
|
||||
# locale stuff, see: https://superuser.com/questions/959380/how-do-i-install-generate-all-locales-on-fedora
|
||||
RUN echo "%_install_langs C:en:en_US:en_US.UTF-8" > /etc/rpm/macros.image-language-conf
|
||||
RUN dnf -y reinstall glibc-common
|
||||
# packages required to build and run apiserver.
|
||||
RUN dnf -y install g++ gcc make automake autoconf libtool libcurl-devel
|
||||
COPY apiserver-0.1.1.tar.gz /
|
||||
WORKDIR /
|
||||
RUN tar xvf apiserver-0.1.1.tar.gz
|
||||
WORKDIR apiserver-0.1.1
|
||||
RUN zsh ./configure --prefix=/usr --disable-dependency-tracking
|
||||
RUN ["make", "install"]
|
||||
EXPOSE 8000
|
||||
ENTRYPOINT ["/usr/bin/apiserver"]
|
||||
2
docker/build-nightly-bootstrap/fedora/Makefile
Normal file
2
docker/build-nightly-bootstrap/fedora/Makefile
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
all :
|
||||
sudo docker build -t mozilla/build-nightly-bootstrap-fedora .
|
||||
3
docker/build-nightly-bootstrap/fedora/Makefile~
Normal file
3
docker/build-nightly-bootstrap/fedora/Makefile~
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
all :
|
||||
# sudo docker build -t stanzabird/apiserver .
|
||||
sudo docker build -t mozilla/build-nightly-bootstrap .
|
||||
Loading…
Add table
Reference in a new issue