mirror of
https://github.com/sebastianbergmann/docker-amiga-gcc.git
synced 2026-01-11 23:46:53 +00:00
Refactor
This commit is contained in:
@ -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 && \
|
||||
|
||||
1
bin/.revisions/bebbo/amiga-gcc
Normal file
1
bin/.revisions/bebbo/amiga-gcc
Normal file
@ -0,0 +1 @@
|
||||
0ac4535ac47ca47d7cf29c47ce888e95a482ede2
|
||||
@ -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',
|
||||
Reference in New Issue
Block a user