UPDATE PW version
This commit is contained in:
parent
0417c83f82
commit
bb91d0c45d
@ -15,7 +15,7 @@ COPY . .
|
|||||||
|
|
||||||
# Install playwright cli with right version for later use
|
# Install playwright cli with right version for later use
|
||||||
RUN PWGO_VER=$(grep -oE "playwright-go v\S+" /app/go.mod | sed 's/playwright-go //g') \
|
RUN PWGO_VER=$(grep -oE "playwright-go v\S+" /app/go.mod | sed 's/playwright-go //g') \
|
||||||
&& go install github.com/playwright-community/playwright-go/cmd/playwright@${PWGO_VER}
|
&& go install github.com/playwright-community/playwright-go/cmd/playwright@v1.48.2
|
||||||
# https://stackoverflow.com/questions/70369368/check-architecture-in-dockerfile-to-get-amd-arm
|
# https://stackoverflow.com/questions/70369368/check-architecture-in-dockerfile-to-get-amd-arm
|
||||||
RUN go build -o bin/crawler \
|
RUN go build -o bin/crawler \
|
||||||
-ldflags "-X main.Shortsha=${SHORTSHA} \
|
-ldflags "-X main.Shortsha=${SHORTSHA} \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user