Updating dockerfiles
This commit is contained in:
parent
a95d5771de
commit
1af2db3cc8
11 changed files with 58 additions and 65 deletions
9
docker/build-nightly-bootstrap/Makefile
Normal file
9
docker/build-nightly-bootstrap/Makefile
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
all :
|
||||||
|
make -C debian
|
||||||
|
make -C fedora
|
||||||
|
make -C ubuntu
|
||||||
|
make -C mint
|
||||||
|
|
||||||
|
clean :
|
||||||
|
sudo docker image prune --force
|
||||||
|
|
||||||
|
|
@ -1,17 +1,9 @@
|
||||||
FROM debian
|
FROM debian
|
||||||
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
||||||
RUN dnf -y update
|
RUN apt-get -y update && apt-get -y upgrade
|
||||||
RUN dnf -y install bash
|
# Install build dependencies..
|
||||||
# locale stuff, see: https://superuser.com/questions/959380/how-do-i-install-generate-all-locales-on-fedora
|
run apt-get -y install wget python3 python3-dev mercurial
|
||||||
RUN echo "%_install_langs C:en:en_US:en_US.UTF-8" > /etc/rpm/macros.image-language-conf
|
# Build mozilla nightly..
|
||||||
RUN dnf -y reinstall glibc-common
|
run wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py
|
||||||
# packages required to build and run apiserver.
|
run echo '***' python3 bootstrap.py --no-interactive --application-choice=browser
|
||||||
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"]
|
|
||||||
|
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
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"]
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
all :
|
|
||||||
# sudo docker build -t stanzabird/apiserver .
|
|
||||||
sudo docker build -t mozilla/build-nightly-bootstrap .
|
|
||||||
|
|
@ -1,16 +1,26 @@
|
||||||
FROM fedora
|
FROM fedora
|
||||||
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
||||||
RUN dnf -y update
|
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
|
# 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 echo "%_install_langs C:en:en_US:en_US.UTF-8" > /etc/rpm/macros.image-language-conf
|
||||||
RUN dnf -y reinstall glibc-common
|
RUN dnf -y reinstall glibc-common
|
||||||
# packages required to build and run apiserver.
|
# Install build dependencies..
|
||||||
RUN dnf -y install g++ gcc make automake autoconf libtool libcurl-devel
|
run dnf -y install wget python3 python3-devel mercurial
|
||||||
COPY apiserver-0.1.1.tar.gz /
|
# Build mozilla nightly..
|
||||||
WORKDIR /
|
run wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py
|
||||||
RUN tar xvf apiserver-0.1.1.tar.gz
|
run echo '***' python3 bootstrap.py --no-interactive --application-choice=browser
|
||||||
WORKDIR apiserver-0.1.1
|
|
||||||
RUN zsh ./configure --prefix=/usr --disable-dependency-tracking
|
|
||||||
RUN ["make", "install"]
|
|
||||||
RUN ["make", "dist"]
|
|
||||||
|
#
|
||||||
|
## 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"]
|
||||||
|
#
|
||||||
|
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
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"]
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
all :
|
|
||||||
# sudo docker build -t stanzabird/apiserver .
|
|
||||||
sudo docker build -t mozilla/build-nightly-bootstrap .
|
|
||||||
9
docker/build-nightly-bootstrap/mint/Dockerfile
Normal file
9
docker/build-nightly-bootstrap/mint/Dockerfile
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
FROM linuxmintd/mint20.2-amd64
|
||||||
|
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
||||||
|
RUN apt-get -y update && apt-get -y upgrade
|
||||||
|
# Install build dependencies..
|
||||||
|
run apt-get -y install wget python3 python3-dev mercurial
|
||||||
|
# Build mozilla nightly..
|
||||||
|
run wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py
|
||||||
|
run echo '***' python3 bootstrap.py --no-interactive --application-choice=browser
|
||||||
|
|
||||||
2
docker/build-nightly-bootstrap/mint/Makefile
Normal file
2
docker/build-nightly-bootstrap/mint/Makefile
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
all :
|
||||||
|
sudo docker build -t mozilla/build-nightly-bootstrap-mint .
|
||||||
9
docker/build-nightly-bootstrap/ubuntu/Dockerfile
Normal file
9
docker/build-nightly-bootstrap/ubuntu/Dockerfile
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
FROM ubuntu
|
||||||
|
MAINTAINER Bert van der Weerd <bert@stanzabird.nl>
|
||||||
|
RUN apt-get -y update && apt-get -y upgrade
|
||||||
|
# Install build dependencies..
|
||||||
|
run apt-get -y install wget python3 python3-dev mercurial
|
||||||
|
# Build mozilla nightly..
|
||||||
|
run wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py
|
||||||
|
run echo '***' python3 bootstrap.py --no-interactive --application-choice=browser
|
||||||
|
|
||||||
2
docker/build-nightly-bootstrap/ubuntu/Makefile
Normal file
2
docker/build-nightly-bootstrap/ubuntu/Makefile
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
all :
|
||||||
|
sudo docker build -t mozilla/build-nightly-bootstrap-ubuntu .
|
||||||
Loading…
Add table
Reference in a new issue