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

Commit

Permalink
Using Golang based on Debian 11 for upx-ucl package
Browse files Browse the repository at this point in the history
  • Loading branch information
vania-pooh committed Jan 29, 2024
1 parent 4d576a1 commit 6e0ce8e
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 6e0ce8e

Please sign in to comment.