Skip to content

Commit

Permalink
fixup! support older OTP versions, by supporting older OTP docker ima…
Browse files Browse the repository at this point in the history
…ges with Debian 9

# Conflicts:
#	.github/workflows/ci.yml
  • Loading branch information
andreineculau committed Jul 26, 2024
1 parent adba01b commit 0c8ce4d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ jobs:
steps:
- shell: bash
run: |
# manually sync with ./Dockerfile.build.sh
# NOTE sync with ./Dockerfile.build.sh
if [ $(awk -F. '{print $1}' /etc/debian_version) -eq 9 ]; then
printf 'deb http://archive.debian.org/debian/ stretch main contrib non-free deb http://archive.debian.org/debian-security/ stretch/updates main contrib non-free deb http://archive.debian.org/debian/ stretch-backports main contrib non-free' > /etc/apt/sources.list;
fi
apt-get update
apt-get -y install wget
apt-get -y install libz-dev libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext cmake gcc
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail

# NOTE sync with ./.github/workflows/ci.yml

if [ $(awk -F. '{print $1}' /etc/debian_version) -eq 9 ]; then
printf 'deb http://archive.debian.org/debian/ stretch main contrib non-free deb http://archive.debian.org/debian-security/ stretch/updates main contrib non-free deb http://archive.debian.org/debian/ stretch-backports main contrib non-free' > /etc/apt/sources.list;
fi
Expand Down

0 comments on commit 0c8ce4d

Please sign in to comment.