1
0
mirror of https://github.com/sebastianbergmann/docker-amiga-gcc.git synced 2026-01-11 23:46:53 +00:00
This commit is contained in:
Sebastian Bergmann
2019-08-30 12:27:20 +02:00
parent f90156bf78
commit 35eb8d1599
21 changed files with 3 additions and 11 deletions

View File

@ -22,9 +22,8 @@ RUN apt-get update && apt-get install -y \
wget \
&& rm -rf /var/lib/apt/lists/* && \
cd /root && \
git clone https://github.com/bebbo/amiga-gcc.git && \
git clone --depth 1 https://github.com/bebbo/amiga-gcc.git && \
cd /root/amiga-gcc && \
git checkout -qf 0ac4535ac47ca47d7cf29c47ce888e95a482ede2 && \
mkdir -p /opt/amiga && \
make update && \
make -j4 all && \

View File

@ -0,0 +1 @@
0ac4535ac47ca47d7cf29c47ce888e95a482ede2

View File

@ -1,17 +1,9 @@
#!/usr/bin/env php
<?php declare(strict_types=1);
$tmp = file_get_contents(__DIR__ . '/Dockerfile');
$old = substr($tmp, strpos($tmp, 'git checkout -qf ') + strlen('git checkout -qf '), 40);
$new = trim(`git ls-remote https://github.com/bebbo/amiga-gcc.git | grep HEAD | awk '{ print $1}'`);
file_put_contents(
__DIR__ . '/Dockerfile',
str_replace($old, $new, $tmp)
);
$repositories = [
'adtools/sfdc',
'AmigaPorts/libSDL12',
'bebbo/amiga-gcc',
'bebbo/amiga-netinclude',
'bebbo/aros-stuff',
'bebbo/binutils-gdb',