Dockerfile: Add rustc & fix launcher errors #1

This commit is contained in:
daijro 2024-08-17 07:08:19 -05:00
parent f2013051ab
commit a78c5a2d91
2 changed files with 6 additions and 3 deletions

View file

@ -8,11 +8,14 @@ COPY . /app
# Install necessary packages # Install necessary packages
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
# Mach build tools # Mach build tools
build-essential make msitools wget unzip \ build-essential make msitools wget unzip rustc \
# Python # Python
python3 python3-dev python3-pip \ python3 python3-dev python3-pip \
# Camoufox build system tools # Camoufox build system tools
git p7zip-full golang-go aria2 git p7zip-full golang-go aria2 \
# CA certificates
ca-certificates \
&& update-ca-certificates
# Fetch Firefox & apply initial patches # Fetch Firefox & apply initial patches
RUN make setup-minimal && \ RUN make setup-minimal && \

View file

@ -1,6 +1,6 @@
module launch module launch
go 1.23 go 1.23.0
require github.com/mileusna/useragent v1.3.4 require github.com/mileusna/useragent v1.3.4