Updating dockerfiles

This commit is contained in:
Bert van der Weerd 2021-09-28 10:41:30 +02:00
parent a95d5771de
commit 1af2db3cc8
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1
11 changed files with 58 additions and 65 deletions

View file

@ -0,0 +1,9 @@
all :
make -C debian
make -C fedora
make -C ubuntu
make -C mint
clean :
sudo docker image prune --force

View file

@ -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

View file

@ -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"]

View file

@ -1,3 +0,0 @@
all :
# sudo docker build -t stanzabird/apiserver .
sudo docker build -t mozilla/build-nightly-bootstrap .

View file

@ -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"]
#

View file

@ -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"]

View file

@ -1,3 +0,0 @@
all :
# sudo docker build -t stanzabird/apiserver .
sudo docker build -t mozilla/build-nightly-bootstrap .

View 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

View file

@ -0,0 +1,2 @@
all :
sudo docker build -t mozilla/build-nightly-bootstrap-mint .

View 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

View file

@ -0,0 +1,2 @@
all :
sudo docker build -t mozilla/build-nightly-bootstrap-ubuntu .