mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
Compare commits
6 Commits
godot-2023
...
yem/docker
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d4b21dac1 | ||
|
|
0813d8a324 | ||
|
|
bcf890301f | ||
|
|
c15a40e128 | ||
|
|
5e264875e0 | ||
|
|
14fc4fe1ed |
@@ -1,6 +1,6 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
# https://dbus.freedesktop.org/releases/dbus/dbus-1.12.16.tar.gz.asc
|
||||
# https://dbus.freedesktop.org/releases/dbus/dbus-1.12.18.tar.gz.asc
|
||||
# using key 36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F
|
||||
sha256 54a22d2fa42f2eb2a871f32811c6005b531b9613b1b93a0d269b05e7549fec80 dbus-1.12.16.tar.gz
|
||||
sha256 64cf4d70840230e5e9bc784d153880775ab3db19d656ead8a0cb9c0ab5a95306 dbus-1.12.18.tar.gz
|
||||
# Locally calculated
|
||||
sha256 0e46f54efb12d04ab5c33713bacd0e140c9a35b57ae29e03c853203266e8f3a1 COPYING
|
||||
sha256 0e46f54efb12d04ab5c33713bacd0e140c9a35b57ae29e03c853203266e8f3a1 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DBUS_VERSION = 1.12.16
|
||||
DBUS_VERSION = 1.12.18
|
||||
DBUS_SITE = https://dbus.freedesktop.org/releases/dbus
|
||||
DBUS_LICENSE = AFL-2.1 or GPL-2.0+ (library, tools), GPL-2.0+ (tools)
|
||||
DBUS_LICENSE_FILES = COPYING
|
||||
|
||||
1
support/docker/Dockerfile.base
Symbolic link
1
support/docker/Dockerfile.base
Symbolic link
@@ -0,0 +1 @@
|
||||
Dockerfile.debian-stretch
|
||||
@@ -1,6 +1,9 @@
|
||||
# vi: ft=dockerfile
|
||||
# This Dockerfile generates the docker image that gets used by Gitlab CI
|
||||
# To build it (YYYYMMDD.HHMM is the current date and time in UTC):
|
||||
# sudo docker build -t buildroot/base:YYYYMMDD.HHMM support/docker
|
||||
# sudo docker build -t buildroot/base:YYYYMMDD.HHMM \
|
||||
# -f support/docker/Dockerfile.debian-stretch \
|
||||
# support/docker
|
||||
# sudo docker push buildroot/base:YYYYMMDD.HHMM
|
||||
|
||||
# We use a specific tag for the base image *and* the corresponding date
|
||||
@@ -16,7 +19,7 @@ description="Container with everything needed to run Buildroot"
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
# This repository can be a bit slow at times. Don't panic...
|
||||
COPY apt-sources.list /etc/apt/sources.list
|
||||
COPY debian-stretch.apt-sources.list /etc/apt/sources.list
|
||||
|
||||
# The container has no package lists, so need to update first
|
||||
RUN dpkg --add-architecture i386 && \
|
||||
@@ -46,6 +49,7 @@ RUN apt-get install -y --no-install-recommends \
|
||||
qemu-system-x86 \
|
||||
rsync \
|
||||
subversion \
|
||||
sudo \
|
||||
unzip \
|
||||
wget \
|
||||
&& \
|
||||
@@ -57,7 +61,9 @@ RUN sed -i 's/# \(en_US.UTF-8\)/\1/' /etc/locale.gen && \
|
||||
/usr/sbin/locale-gen
|
||||
|
||||
RUN useradd -ms /bin/bash br-user && \
|
||||
chown -R br-user:br-user /home/br-user
|
||||
chown -R br-user:br-user /home/br-user && \
|
||||
printf 'br-user ALL=NOPASSWD: /bin/su -\n' >/etc/sudoers.d/br-user && \
|
||||
chmod 0440 /etc/sudoers.d/br-user
|
||||
|
||||
USER br-user
|
||||
WORKDIR /home/br-user
|
||||
48
support/docker/Dockerfile.fedora-32
Normal file
48
support/docker/Dockerfile.fedora-32
Normal file
@@ -0,0 +1,48 @@
|
||||
# vi: ft=dockerfile
|
||||
# Note: this dockerfile is not reproducible, because the repository
|
||||
# where we fetch packages from is not pinned to a specific point in
|
||||
# time; i.e. we'll get whatever is current at the moment we build.
|
||||
|
||||
FROM fedora:32
|
||||
|
||||
LABEL maintainer="Buildroot mailing list <buildroot@buildroot.org>" \
|
||||
vendor="Buildroot" \
|
||||
description="Container based on Fedora 32, with everything needed to run Buildroot already installed"
|
||||
|
||||
# Remove the repository with updates, so we only
|
||||
# get packages as they were at time of release.
|
||||
RUN rm -f /etc/yum.repos.d/fedora-updates*.repo && \
|
||||
dnf -y install \
|
||||
@development-tools \
|
||||
bc \
|
||||
bzip2 \
|
||||
bzr \
|
||||
cpio \
|
||||
cvs \
|
||||
file \
|
||||
gcc-c++ \
|
||||
git \
|
||||
mercurial \
|
||||
ncurses-devel \
|
||||
perl-ExtUtils-MakeMaker \
|
||||
perl-Thread-Queue \
|
||||
python-nose2 \
|
||||
python-pexpect \
|
||||
qemu-system-arm \
|
||||
qemu-system-x86 \
|
||||
rsync \
|
||||
subversion \
|
||||
unzip \
|
||||
wget \
|
||||
which \
|
||||
&& dnf -y clean all
|
||||
|
||||
RUN useradd -ms /bin/bash br-user && \
|
||||
chown -R br-user:br-user /home/br-user && \
|
||||
printf 'br-user ALL=NOPASSWD: /usr/bin/su -\n' >/etc/sudoers.d/br-user && \
|
||||
chmod 0440 /etc/sudoers.d/br-user
|
||||
|
||||
USER br-user
|
||||
WORKDIR /home/br-user
|
||||
ENV HOME /home/br-user
|
||||
ENV LC_ALL C.utf8
|
||||
17
support/docker/build-all
Executable file
17
support/docker/build-all
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
BR2_DOCKER_VERSION="${1}"
|
||||
|
||||
if [ -z "${BR2_DOCKER_VERSION}" ]; then
|
||||
printf "Usage: ${0} VERSION\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
CONTEXT_DIR="${0%/*}"
|
||||
for d in "${CONTEXT_DIR}"/Dockerfile.*; do \
|
||||
distro="${d#*/Dockerfile.}"
|
||||
docker build \
|
||||
-t "buildroot/${distro}:${BR2_DOCKER_VERSION}" \
|
||||
-f "${d}" "${CONTEXT_DIR}"
|
||||
done
|
||||
@@ -184,7 +184,7 @@ check_gcc_version = \
|
||||
exit 0 ; \
|
||||
fi; \
|
||||
real_version=`$(1) -dumpversion` ; \
|
||||
if [[ ! "$${real_version}" =~ ^$${expected_version}\. ]] ; then \
|
||||
if [[ ! "$${real_version}." =~ ^$${expected_version}\. ]] ; then \
|
||||
printf "Incorrect selection of gcc version: expected %s.x, got %s\n" \
|
||||
"$${expected_version}" "$${real_version}" ; \
|
||||
exit 1 ; \
|
||||
|
||||
Reference in New Issue
Block a user