Skip to content

Commit

Permalink
Merge pull request #154 from CybercentreCanada/bugfix/nightly_build_i…
Browse files Browse the repository at this point in the history
…mage

Patch nightly builds to install libssl-dev for yara-python dep.
  • Loading branch information
cccs-rs committed Dec 13, 2023
2 parents fd235ff + 4a49549 commit 5ebba5f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM $base

# Get required apt packages
RUN apt-get update \
&& apt-get install -yy build-essential libffi-dev libfuzzy-dev \
&& apt-get install -yy build-essential libffi-dev libfuzzy-dev libssl-dev \
&& rm -rf /var/lib/apt/lists/*

# Install assemblyline dependencies, but don't keep assemblyline
Expand Down
2 changes: 1 addition & 1 deletion pipelines/nightly-builds-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ stages:
command: login
containerRegistry: cccstemp
- script: |
set -xv # Echo commands before they are run
set -exv # Echo commands before they are run
docker build -t common:local root-image -f root-image/common.Dockerfile
export IMAGE=cccstemp.azurecr.io/assemblyline-root-build
Expand Down
4 changes: 2 additions & 2 deletions pipelines/nightly-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ stages:
command: login
containerRegistry: cccstemp
- script: |
set -xv # Echo commands before they are run
set -exv # Echo commands before they are run
docker build -t common:local root-image -f root-image/common.Dockerfile
export IMAGE=cccstemp.azurecr.io/assemblyline-root-build
export BUILD_TYPE=stable
docker build --build-arg base=common:local -t $IMAGE:$BUILD_TYPE build-image
docker push $IMAGE -q --all-tags
Expand Down

0 comments on commit 5ebba5f

Please sign in to comment.