Skip to content

Commit

Permalink
Fix strelka-backend build
Browse files Browse the repository at this point in the history
Signed-off-by: reyesj2 <[email protected]>
  • Loading branch information
reyesj2 committed Nov 21, 2024
1 parent d328d2e commit 83b9540
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion so-strelka-backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@ RUN mkdir /strelka && \
cp -fr /tmp/strelka/src/python/* /strelka/ && \
cp -fr /tmp/strelka/configs/python/backend/* /etc/strelka/ && \
cp -fr /tmp/strelka/build/python/backend/pin.pref /etc/apt/preferences.d/ && \
cp -fr /tmp/strelka/build/python/backend/mantic.list /etc/apt/sources.list.d/ && \
# cp -fr /tmp/strelka/build/python/backend/mantic.list /etc/apt/sources.list.d/ && \
rm -fr /tmp/strelka && \
chown -R ${USER_UID}:${USER_GID} /var/log/strelka/

# Use local version of Mantic.list until upstream https://github.com/target/strelka/pull/476 is merged
ADD mantic.list /etc/apt/sources.list.d/mantic.list

# Install build packages
RUN apt-get -q update && \
apt-get install -q -y --no-install-recommends \
Expand Down
4 changes: 2 additions & 2 deletions so-strelka-backend/mantic.list
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
deb [arch=amd64] http://archive.ubuntu.com/ubuntu mantic main restricted universe multiverse
deb [arch=arm64] http://ports.ubuntu.com/ mantic main restricted universe multiverse
deb [arch=amd64] http://old-releases.ubuntu.com/ubuntu mantic main restricted universe multiverse
deb [arch=arm64] http://old-releases.ubuntu.com/ubuntu mantic-backports main restricted universe multiverse

0 comments on commit 83b9540

Please sign in to comment.