Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #668 from vania-pooh/master
Browse files Browse the repository at this point in the history
Using Golang based on Debian 11 for upx-ucl package
  • Loading branch information
vania-pooh authored Jan 29, 2024
2 parents 4d576a1 + 6e0ce8e commit a8221cb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions selenium/android/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM golang:1.21 as go
FROM golang:1.21-bullseye as go

COPY tmp/devtools /devtools

RUN \
apt-get update && \
wget -c http://ftp.us.debian.org/debian/pool/main/u/upx-ucl/upx-ucl_3.95-1_amd64.deb && \
apt-get install -y ./upx-ucl_3.95-1_amd64.deb && \
apt-get install -y libx11-dev && \
apt-get install -y upx-ucl libx11-dev && \
cd /devtools && \
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" && \
upx /devtools/devtools
Expand Down
2 changes: 1 addition & 1 deletion selenium/base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG UBUNTU_VERSION=22.04

FROM golang:1.21 as go
FROM golang:1.21-bullseye as go

COPY xseld /xseld

Expand Down
2 changes: 1 addition & 1 deletion selenium/external-host/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21 as go
FROM golang:1.21-bullseye as go

COPY choose /choose

Expand Down
2 changes: 1 addition & 1 deletion static/chrome/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG VERSION
FROM golang:1.21 as go
FROM golang:1.21-bullseye as go

COPY devtools /devtools

Expand Down
2 changes: 1 addition & 1 deletion static/safari/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN \
ninja install && \
rm -Rf /var/lib/apt/lists/*

FROM golang:1.21 as go
FROM golang:1.21-bullseye as go

COPY cmd/prism /prism

Expand Down

0 comments on commit a8221cb

Please sign in to comment.