Something went wrong on our end
Select Git revision
-
inso authored
commit 3fef142e067a28f95db3ffc0d8e82d625051652c Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 15:41:37 2018 +0100 Finalize appveyor works commit c7f5cf4c Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 15:30:22 2018 +0100 Path to Qt bin commit 2dbd771f Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 15:18:19 2018 +0100 Add path to pyqt5 dll commit 26efda3b Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 13:31:58 2018 +0100 Fix path commit f35c07e3 Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 13:24:01 2018 +0100 Fx call commit b25de27b Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 13:15:49 2018 +0100 Fix exit ? commit 41d3abc2 Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 13:05:02 2018 +0100 Fix set path commit d9e2ddd5 Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 12:58:42 2018 +0100 Set PATH only for gen translations commit 53a43d7e Author: inso <insomniak.fr@gmaiL.com> Date: Wed Mar 14 08:41:20 2018 +0100 Fix appveyor
inso authoredcommit 3fef142e067a28f95db3ffc0d8e82d625051652c Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 15:41:37 2018 +0100 Finalize appveyor works commit c7f5cf4c Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 15:30:22 2018 +0100 Path to Qt bin commit 2dbd771f Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 15:18:19 2018 +0100 Add path to pyqt5 dll commit 26efda3b Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 13:31:58 2018 +0100 Fix path commit f35c07e3 Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 13:24:01 2018 +0100 Fx call commit b25de27b Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 13:15:49 2018 +0100 Fix exit ? commit 41d3abc2 Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 13:05:02 2018 +0100 Fix set path commit d9e2ddd5 Author: inso <insomniak.fr@gmaiL.com> Date: Thu Mar 15 12:58:42 2018 +0100 Set PATH only for gen translations commit 53a43d7e Author: inso <insomniak.fr@gmaiL.com> Date: Wed Mar 14 08:41:20 2018 +0100 Fix appveyor
Dockerfile 1019 B
# FROM rustlang/rust:nightly-slim as build
# nightly needed for -Zgit=shallow-deps build but ahash problem with stdsimd
FROM rust:latest as build
# # Use musl Rust image
# FROM clux/muslrust:1.75.0-stable as build
WORKDIR /app
# Copy the Cargo.toml and Cargo.lock files to leverage Docker's caching mechanism
COPY Cargo.toml Cargo.lock ./
# Build the dependencies of the application separately
RUN --mount=type=cache,target=/app/target \
--mount=type=cache,target=/root/.cargo/registry \
mkdir src \
&& echo "fn main() {}" > src/main.rs \
&& cargo build --release \
&& rm -r src
# Copy the rest of the source code
COPY ./res ./res
COPY ./src ./src
# Build the application
RUN cargo build --release
# Start release stage
FROM debian as release
# Set the working directory to the location of the built application
WORKDIR /app
# Copy the built application from the previous stage
COPY --from=build /app/target/release/gcli .
# Specify the entrypoint for the container
ENTRYPOINT ["/app/gcli"]