Skip to content
Snippets Groups Projects
Select Git revision
  • dev
  • master default protected
  • appimage
  • fix_gitlab
  • fixappveyor
  • gitlab
  • fix_ci
  • fix_dbus_error
  • fix_ci_osx
  • sakia020
  • fix_travis#1105
  • feature/backend
  • check_uniq_node_by_endpoints
  • qt5.7
  • feature/agent_architecture
  • translations
  • pyqt5.6
  • qtwebengine
  • pyinstaller
  • landscape
  • 0.53.2
  • 0.53.1
  • 0.53.0
  • 0.52.0
  • 0.51.1
  • 0.51.0
  • 0.50.5
  • 0.50.4
  • 0.50.3
  • 0.50.2
  • 0.50.1
  • 0.50.0
  • 0.33.0rc7
  • 0.33.0rc6
  • 0.33.0rc5
  • 0.33.0rc4
  • 0.33.0rc3
  • 0.33.0rc2
  • 0.33.0rc1
  • 0.32.10post1
40 results

sakia.spec

Blame
    • inso's avatar
      9569e8f8
      Squashed commit of the following: · 9569e8f8
      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
      9569e8f8
      History
      Squashed commit of the following:
      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
    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"]