• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env bash
2
3# This is a ci-templates build script to generate a container for LAVA SSH client.
4
5# shellcheck disable=SC1091
6set -e
7
8. .gitlab-ci/setup-test-env.sh
9
10set -o xtrace
11
12EPHEMERAL=(
13)
14
15# We only need these very basic packages to run the tests.
16DEPS=(
17    openssh-client  # for ssh
18    iputils         # for ping
19    bash
20    curl
21)
22
23
24apk --no-cache add "${DEPS[@]}" "${EPHEMERAL[@]}"
25
26. .gitlab-ci/container/container_pre_build.sh
27
28############### Uninstall the build software
29
30apk del "${EPHEMERAL[@]}"
31
32. .gitlab-ci/container/container_post_build.sh
33