forked from kubernetes/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add s390x support for image gb-frontend and gb-redisslave in gcr.io/g…
…oogle-samples
- Loading branch information
Showing
4 changed files
with
28 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
DEB_ARCH=$(dpkg --print-architecture) | ||
|
||
# http://security.debian.org/debian-security/dists/jessie/updates/InRelease is missing | ||
# entries for some platforms, so we just remove the last line in sources.list in | ||
# /etc/apt/sources.list which is "deb http://deb.debian.org/debian jessie-updates main" | ||
|
||
case ${DEB_ARCH} in | ||
arm64|ppc64el|s390x) | ||
sed -i '/security/d' /etc/apt/sources.list | ||
;; | ||
esac | ||
|
||
exit 0 |
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