Skip to content
Snippets Groups Projects
Unverified Commit f39889da 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 #282417 failed
......@@ -15,5 +15,5 @@ distribute:
/kaniko/executor
--context "${CI_PROJECT_DIR}"
--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
WORKDIR /usr/bin/local
# Install Google Chrome
RUN apt-get install -y wget curl
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
RUN apt-get update && apt-get -y install 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 chmod +x decker
# Add a working directory
WORKDIR /
RUN mkdir app
WORKDIR /app
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment