Docker-PHP/marshall/installers/000_apt.sh
Matthew Baggett e1319237df
Feature/multiplat (#2)
* Fuckin' Perl. Marshall 199MB => 130MB

* Down to 122MB. I'll take it.

* Multiplatform rewrite

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Multiplatform rewrite. Squash me.

* Squash this.

* Squash this

* Squash this

* Squash this

* Squash this

* Squash this

* Squash this

* Squash this

* Squash this

* Squash this

* Apparently github registry doesn't support multi-platform images 🤦

* gchr.io replaced github registry containers, who knew.

* GHCR not GHPR

* Skip GHCR?

* Probably should copy the login action changes across.

* Fire ze cannons

* Re-enable lint. Enable Marshall. Disable GHCR, its just broken jank.

* Rename

* Probably don't care about -onbuild builds right now.

* The full matrix isn't building yet :/

* Typo.

* I can't spell, evidently

* This is causing some strange behaviour.

* This is causing some strange behaviour.

* Turn off fail fast.

* Add PHP_VERSION ENVAR

* Add vanity tag functionality

* 7.4 all built right... Build all the other images?

* Tabzilla

* Fix issues with 8.0/7.0 being truncated to 8/7. Phase out 5.6 builder.

* Vanity tags might run on a different instance oops.

* Why was php7.4-redis/php8.0-redis removed in the first place. I have no idea.
2020-12-02 12:27:31 +01:00

14 lines
503 B
Bash

#!/bin/bash
source /installers/config
echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/force-unsafe-io
# swap http://archive.ubuntu.com for the new mirror://mirrors.ubuntu.com/mirrors.txt mirror-router.
sed -i 's/http\:\/\/archive\.ubuntu\.com\/ubuntu\//mirror\:\/\/mirrors.ubuntu.com\/mirrors.txt/g' /etc/apt/sources.list
# Update apt repos
apt-get -qq update
# System upgrade
#apt-get -yq upgrade
# Install apt-utils & ca-certificates to prevent some screaming.
$APT_GET apt apt-utils ca-certificates