Commit 1af93536 authored by nimrod's avatar nimrod
Browse files

Specify version of Toolbox.

Also, shallow clone for speed and disk size.
parent 5acb5920
Loading
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -7,6 +7,9 @@ stages:
  - test
  - build

variables:
  VERSION: 0.0.99

build:
  stage: build
  image: buildpack-deps:bullseye
@@ -22,7 +25,11 @@ build:
      podman
      shellcheck
      systemd
    - git clone https://github.com/containers/toolbox.git
    - >-
      git clone
      --depth=1
      "--branch=$VERSION"
      https://github.com/containers/toolbox.git
    - cd toolbox
  script:
    - meson -Dprofile_dir=/etc/profile.d builddir