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
|
||||
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"]
|
||||
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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
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"]
|
||||
# Install build dependencies..
|
||||
run dnf -y install wget python3 python3-devel 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
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
## 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