Skip to content
Snippets Groups Projects
Unverified Commit b7c323b9 authored by Robby3St's avatar Robby3St
Browse files

fix{Dockerfile, .gitlab-ci}: use correct bin directory

parent 3b910e30
No related branches found
No related tags found
No related merge requests found
Pipeline #282415 failed
...@@ -15,5 +15,5 @@ distribute: ...@@ -15,5 +15,5 @@ distribute:
/kaniko/executor /kaniko/executor
--context "${CI_PROJECT_DIR}" --context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile" --dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:1.0.0" --destination "${CI_REGISTRY_IMAGE}:1.0.2"
FROM debian:12-slim FROM ubuntu:24.04
RUN apt-get update && apt-get install -y curl chromium # Install Google Chrome
WORKDIR /usr/bin/local RUN apt-get update && apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg \
hicolor-icon-theme \
libcanberra-gtk* \
libgl1-mesa-dri \
libgl1-mesa-glx \
libpangox-1.0-0 \
libpulse0 \
libv4l-0 \
fonts-symbola \
--no-install-recommends \
&& curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list \
&& apt-get update && apt-get install -y \
google-chrome-stable \
--no-install-recommends \
&& apt-get purge --auto-remove -y curl \
&& rm -rf /var/lib/apt/lists/*
# Download and install Google Chrome
RUN curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
apt-get update && apt-get install -y ./google-chrome-stable_current_amd64.deb || apt-get install -fy && \
rm google-chrome-stable_current_amd64.deb
# Install Decker
WORKDIR /usr/local/bin
RUN curl -L -o decker https://github.com/decker-edu/decker/releases/download/latest/decker-latest-Linux-X64-3f4150d61ca167361b02665da969da769ca98e7c RUN curl -L -o decker https://github.com/decker-edu/decker/releases/download/latest/decker-latest-Linux-X64-3f4150d61ca167361b02665da969da769ca98e7c
RUN chmod +x decker RUN chmod +x decker
# Add a working directory
WORKDIR / WORKDIR /
RUN mkdir app RUN mkdir app
WORKDIR /app WORKDIR /app
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment