mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
chore: updated deps
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
module crawlab
|
module crawlab
|
||||||
|
|
||||||
go 1.22
|
go 1.22.9
|
||||||
|
|
||||||
|
replace (
|
||||||
|
github.com/crawlab-team/crawlab/core => ../core
|
||||||
|
)
|
||||||
|
|
||||||
require github.com/crawlab-team/crawlab/core v0.0.0-20241119103250-dc9f62dfd09a
|
require github.com/crawlab-team/crawlab/core v0.0.0-20241119103250-dc9f62dfd09a
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/crawlab-team/crawlab/db
|
module github.com/crawlab-team/crawlab/db
|
||||||
|
|
||||||
go 1.22
|
go 1.22.9
|
||||||
|
|
||||||
replace github.com/crawlab-team/crawlab/trace => ../trace
|
replace github.com/crawlab-team/crawlab/trace => ../trace
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ RUN bash /app/install/deps/deps.sh && \
|
|||||||
bash /app/install/python/python.sh && \
|
bash /app/install/python/python.sh && \
|
||||||
bash /app/install/go/go.sh && \
|
bash /app/install/go/go.sh && \
|
||||||
bash /app/install/node/node.sh && \
|
bash /app/install/node/node.sh && \
|
||||||
bash /app/install/chromedriver/chromedriver.sh
|
bash /app/install/browser/browser.sh
|
||||||
|
|
||||||
# Final stage
|
# Final stage
|
||||||
FROM ubuntu:22.04
|
FROM ubuntu:22.04
|
||||||
|
|||||||
@@ -21,17 +21,14 @@ apt-get install -y \
|
|||||||
npm install -g @puppeteer/browsers
|
npm install -g @puppeteer/browsers
|
||||||
|
|
||||||
# Install chrome with auto-yes
|
# Install chrome with auto-yes
|
||||||
npx -y @puppeteer/browsers install chrome@${version}
|
npx -y @puppeteer/browsers install chrome@${version} \
|
||||||
|
--install-deps \
|
||||||
|
--path=/chrome
|
||||||
|
|
||||||
# Add Chrome to PATH
|
# Add Chrome to PATH
|
||||||
CHROME_PATH="/chrome/linux-*/chrome-linux64"
|
CHROME_PATH="/chrome/linux-${version}/chrome-linux64"
|
||||||
if [ -d "$CHROME_PATH" ]; then
|
CHROME_BIN="$CHROME_PATH/chrome"
|
||||||
CHROME_BIN=$(find "$CHROME_PATH" -name "chrome")
|
ln -s "$CHROME_BIN" /usr/local/bin/google-chrome
|
||||||
if [ -n "$CHROME_BIN" ]; then
|
|
||||||
ln -sf "$CHROME_BIN" /usr/local/bin/google-chrome
|
|
||||||
chmod +x /usr/local/bin/google-chrome
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Verify chrome is installed (with more detailed error message)
|
# Verify chrome is installed (with more detailed error message)
|
||||||
if ! command -v google-chrome &> /dev/null; then
|
if ! command -v google-chrome &> /dev/null; then
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/crawlab-team/crawlab/grpc
|
module github.com/crawlab-team/crawlab/grpc
|
||||||
|
|
||||||
go 1.22
|
go 1.22.9
|
||||||
|
|
||||||
require (
|
require (
|
||||||
google.golang.org/grpc v1.68.0
|
google.golang.org/grpc v1.68.0
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
|
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
|
||||||
|
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
|
||||||
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
|
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
|
||||||
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
||||||
golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo=
|
golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo=
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
module github.com/crawlab-team/crawlab/trace
|
module github.com/crawlab-team/crawlab/trace
|
||||||
|
|
||||||
go 1.22
|
go 1.22.9
|
||||||
|
|
||||||
require github.com/ztrue/tracerr v0.4.0
|
require github.com/ztrue/tracerr v0.4.0
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module github.com/crawlab-team/crawlab/vcs
|
module github.com/crawlab-team/crawlab/vcs
|
||||||
|
|
||||||
go 1.22
|
go 1.22.9
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/apex/log v1.9.0
|
github.com/apex/log v1.9.0
|
||||||
|
|||||||
Reference in New Issue
Block a user