Closed RampantDespair closed 2 weeks ago
Upon further investigation, adding || apt -f -y install
to the install command worked. Not sure if this is a universal fix or issue, but this was the solution for me:
FROM golang:1.23.3
RUN apt -y update && apt -y upgrade && apt -y install curl sudo wget
WORKDIR /app
COPY . .
RUN go mod tidy
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN apt -y install ./google-chrome-stable_current_amd64.deb || apt -f -y install
RUN apt-get clean
Rod Version: v0.116.2
The code to demonstrate your question
What you got
What you expect to see
For Rod to run without issue.
What have you tried to solve the question
As shown in the above console log, rod panics and causes a system crash. I've tried installing
libgobject-2.0
but this doesn't exist apparently. Am I doing something wrong in my Dockerfile?