Verified Commit ad061419 authored by Vasili Novikov's avatar Vasili Novikov
Browse files

WIP: docker

parent d253e665
Showing with 6 additions and 8 deletions
+6 -8
#### The image base should be the same as in Dockerfile
#### UPDATE: not used for now
# image: 'rust:slim'
#### The image base is better to be the same as in Dockerfile
image: 'rust:slim'
stages:
- test
......@@ -11,17 +10,16 @@ variables:
APT_CACHE_DIR: $CI_PROJECT_DIR/apt
before_script:
# WARNING: dirty work-around:
# `libsqlcipher-dev` is right now installed on gitlab-runner (shell) host
- dpkg -l libsqlcipher-dev
# - apt-get update -yq
# - apt-get install -o dir::cache::archives="$APT_CACHE_DIR" -y libsqlcipher-dev
- apt-get update -yq
- apt-get install -o dir::cache::archives="$APT_CACHE_DIR" -y libsqlcipher-dev
- rustup component add rustfmt
- rustup component add clippy
test:
stage: test
tags:
- docker
script:
- rustc --version
- cargo --version
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment