Skip to content

Commit

Permalink
Hotfix 2 - bad Chromium build, instances failed to terminate (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilike2burnthing committed Feb 17, 2024
1 parent 3ca6d08 commit d21a332
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v3.3.14-hotfix2 (2024/02/17)

* Hotfix 2 - bad Chromium build, instances failed to terminate

## v3.3.14-hotfix (2024/02/17)

* Hotfix for Linux build - some Chrome files no longer exist
Expand Down
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,17 @@ ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["/usr/local/bin/python", "-u", "/app/flaresolverr.py"]

# Local build
# docker build -t ngosang/flaresolverr:3.3.14-hotfix .
# docker run -p 8191:8191 ngosang/flaresolverr:3.3.14-hotfix
# docker build -t ngosang/flaresolverr:3.3.14-hotfix2 .
# docker run -p 8191:8191 ngosang/flaresolverr:3.3.14-hotfix2

# Multi-arch build
# docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# docker buildx create --use
# docker buildx build -t ngosang/flaresolverr:3.3.14-hotfix --platform linux/386,linux/amd64,linux/arm/v7,linux/arm64/v8 .
# docker buildx build -t ngosang/flaresolverr:3.3.14-hotfix2 --platform linux/386,linux/amd64,linux/arm/v7,linux/arm64/v8 .
# add --push to publish in DockerHub

# Test multi-arch build
# docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# docker buildx create --use
# docker buildx build -t ngosang/flaresolverr:3.3.14-hotfix --platform linux/arm/v7 --load .
# docker run -p 8191:8191 --platform linux/arm/v7 ngosang/flaresolverr:3.3.14-hotfix
# docker buildx build -t ngosang/flaresolverr:3.3.14-hotfix2 --platform linux/arm/v7 --load .
# docker run -p 8191:8191 --platform linux/arm/v7 ngosang/flaresolverr:3.3.14-hotfix2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flaresolverr",
"version": "3.3.14-hotfix",
"version": "3.3.14-hotfix2",
"description": "Proxy server to bypass Cloudflare protection",
"author": "Diego Heras (ngosang / [email protected])",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/build_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def clean_files():

def download_chromium():
# https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Linux_x64/
revision = "1250005" if os.name == 'nt' else '1250006'
revision = "1260008" if os.name == 'nt' else '1260015'
arch = 'Win_x64' if os.name == 'nt' else 'Linux_x64'
dl_file = 'chrome-win' if os.name == 'nt' else 'chrome-linux'
dl_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), os.pardir, 'dist_chrome')
Expand Down

1 comment on commit d21a332

@ilike2burnthing
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.