Skip to content

Commit 57d3564

Browse files
authored
Merge pull request #18602 from Budibase/feat/move-minio-to-s3
Feat/move minio binary to s3
2 parents be0134b + 795b1bd commit 57d3564

4 files changed

Lines changed: 3 additions & 12 deletions

File tree

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
scripts/resources/minio filter=lfs diff=lfs merge=lfs -text

hosting/single/Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,6 @@ RUN mkdir -p /var/log/nginx && \
104104
# Setup minio
105105
WORKDIR /minio
106106

107-
# A 2022 version of minio that supports gateway mode
108-
COPY scripts/resources/minio /minio
109-
RUN chmod +x minio
110-
111-
# Handles the installation of minio in non-aas environments
112107
COPY scripts/install-minio.sh ./install.sh
113108
RUN chmod +x install.sh && ./install.sh
114109

scripts/install-minio.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
#!/bin/bash
22

33
if [[ $TARGETBUILD == "aas" ]]; then
4-
echo "A aas-compatible version of Minio is already installed."
4+
echo "INSTALLING AAS MINIO (2022 gateway-compatible build)"
5+
wget https://dwiquhvocfant.cloudfront.net/minio/minio # this is a Budibase controlled CF distribution
6+
chmod +x minio
57
exit 0
68
fi
79

810
if [[ $TARGETARCH == arm* ]]; then
911
echo "INSTALLING ARM64 MINIO"
10-
rm -f minio
1112
wget https://dl.min.io/server/minio/release/linux-arm64/minio
1213
else
1314
echo "INSTALLING AMD64 MINIO"
14-
rm -f minio
1515
wget https://dl.min.io/server/minio/release/linux-amd64/minio
1616
fi
1717

scripts/resources/minio

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)