From a78c5a2d915e4869378cc70c868a4a3864a8125f Mon Sep 17 00:00:00 2001 From: daijro Date: Sat, 17 Aug 2024 07:08:19 -0500 Subject: [PATCH] Dockerfile: Add rustc & fix launcher errors #1 --- Dockerfile | 7 +++++-- launcher/go.mod | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a43e7f8..76c913b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,11 +8,14 @@ COPY . /app # Install necessary packages RUN apt-get update && apt-get install -y \ # Mach build tools - build-essential make msitools wget unzip \ + build-essential make msitools wget unzip rustc \ # Python python3 python3-dev python3-pip \ # 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 RUN make setup-minimal && \ diff --git a/launcher/go.mod b/launcher/go.mod index ff40e83..b8109c8 100644 --- a/launcher/go.mod +++ b/launcher/go.mod @@ -1,6 +1,6 @@ module launch -go 1.23 +go 1.23.0 require github.com/mileusna/useragent v1.3.4