Skip to content
Snippets Groups Projects
Unverified Commit 09d711f6 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 #282418 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 install -y wget curl
ENV DEBIAN_FRONTEND noninteractive
RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
RUN sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
RUN apt-get update
RUN apt-get install -y google-chrome-stable
# 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