-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dockerfile to support non amd64 builds (gcc build), enable arm64
- Loading branch information
Showing
6 changed files
with
120 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
# Bash "strict mode", to help catch problems and bugs in the shell | ||
# script. Every bash script you write should include this. See | ||
# http://redsymbol.net/articles/unofficial-bash-strict-mode/ for | ||
# details. | ||
set -euo pipefail | ||
|
||
# Tell apt-get we're never going to be able to give manual | ||
# feedback: | ||
export DEBIAN_FRONTEND=noninteractive | ||
|
||
# Update the package listing, so we know what package exist: | ||
apt-get update | ||
|
||
# Install security updates: | ||
apt-get -y upgrade | ||
|
||
# Install a new package, without unnecessary recommended packages: | ||
#apt-get -y install --no-install-recommends gcc | ||
|
||
# Delete cached files we don't need anymore (note that if you're | ||
# using official Docker images for Debian or Ubuntu, this happens | ||
# automatically, you don't need to do it yourself): | ||
apt-get clean | ||
# Delete index files we don't need anymore: | ||
rm -rf /var/lib/apt/lists/* |