Bump to 3.6.2 on PHP7

This commit is contained in:
Varakh 2022-01-18 23:31:56 +01:00
parent c02f533f36
commit 9fd9c6ce5a
3 changed files with 32 additions and 8 deletions

View file

@ -1,5 +1,9 @@
# CHANGELOG
## 2022-01-18
* Updated to filebin `3.6.2`
## 2021-01-30
* Updated docker image to include latest alpine package changes

View file

@ -153,11 +153,4 @@ Steps:
* Build image
* Push to registry or use locally
Example:
```
export FILEBIN_VERSION=3.6.0;
mkdir -p build;
git clone --branch ${FILEBIN_VERSION} https://github.com/Bluewind/filebin --depth=1 build/;
sudo docker build --no-cache -t varakh/filebin:${FILEBIN_VERSION} -t varakh/filebin:latest .;
```
Call `build.sh` and export `FB_VERSION=$versionTag` before, e.g. `FB_VERSION=3.6.2`.

27
build.sh Executable file
View file

@ -0,0 +1,27 @@
#!/usr/bin/env bash
set -e;
if [[ -v FB_VERSION ]]; then
echo "Processing with version ${FB_VERSION}"
else
echo "Set FB_VERSION before calling this script"
exit 1;
fi
BUILD_DIR="build"
if [[ ! -d "${BUILD_DIR}" ]]; then
mkdir -p "${BUILD_DIR}";
echo "Created ${BUILD_DIR}"
else
rm -rf "${BUILD_DIR}";
mkdir -p "${BUILD_DIR}";
echo "Re-created ${BUILD_DIR}"
fi
git clone --branch ${FB_VERSION} https://github.com/Bluewind/filebin --depth=1 "${BUILD_DIR}";
sudo docker build --no-cache -t varakh/filebin:${FB_VERSION} -t varakh/filebin:latest .;