Bump to 3.6.2 on PHP7
This commit is contained in:
parent
c02f533f36
commit
9fd9c6ce5a
3 changed files with 32 additions and 8 deletions
|
@ -1,5 +1,9 @@
|
||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 2022-01-18
|
||||||
|
|
||||||
|
* Updated to filebin `3.6.2`
|
||||||
|
|
||||||
## 2021-01-30
|
## 2021-01-30
|
||||||
|
|
||||||
* Updated docker image to include latest alpine package changes
|
* Updated docker image to include latest alpine package changes
|
||||||
|
|
|
@ -153,11 +153,4 @@ Steps:
|
||||||
* Build image
|
* Build image
|
||||||
* Push to registry or use locally
|
* Push to registry or use locally
|
||||||
|
|
||||||
Example:
|
Call `build.sh` and export `FB_VERSION=$versionTag` before, e.g. `FB_VERSION=3.6.2`.
|
||||||
|
|
||||||
```
|
|
||||||
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 .;
|
|
||||||
```
|
|
||||||
|
|
27
build.sh
Executable file
27
build.sh
Executable 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 .;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue