File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -118,15 +118,6 @@ for version in "${versions[@]}"; do
118
118
fi
119
119
opensslSourceSha256=" $( wget -qO- " https://www.openssl.org/source/openssl-$opensslVersion .tar.gz.sha256" ) "
120
120
121
- # https://github.com/rabbitmq/rabbitmq-management/issues/786
122
- python=' python3'
123
- case " $fullVersion " in
124
- 3.7.24* | 3.8.3* )
125
- # TODO delete after these versions are gone
126
- python=' python'
127
- ;;
128
- esac
129
-
130
121
echo " $version : $fullVersion "
131
122
132
123
for variant in alpine ubuntu; do
@@ -144,10 +135,10 @@ for version in "${versions[@]}"; do
144
135
cp -a docker-entrypoint.sh " $version /$variant /"
145
136
146
137
managementFrom=" rabbitmq:$version "
147
- installPython=' apt-get update; apt-get install -y --no-install-recommends ' " $python " ' ; rm -rf /var/lib/apt/lists/*'
138
+ installPython=' apt-get update; apt-get install -y --no-install-recommends python3 ; rm -rf /var/lib/apt/lists/*'
148
139
if [ " $variant " = ' alpine' ]; then
149
140
managementFrom+=' -alpine'
150
- installPython=" apk add --no-cache $python "
141
+ installPython=' apk add --no-cache python3 '
151
142
sed -i ' s/gosu/su-exec/g' " $version /$variant /docker-entrypoint.sh"
152
143
fi
153
144
sed -e " s!%%FROM%%!$managementFrom !g" \
You can’t perform that action at this time.
0 commit comments