mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2025-07-05 07:52:18 +02:00
fixing pacman error caused by signature verify
fixing error: libinih: signature from "Maxime Gauduin <alucryd@gmail.com>" is marginal trust
This commit is contained in:
parent
55293cbb6c
commit
0c47473292
@ -155,11 +155,17 @@ RUN make \
|
||||
|
||||
ARG LINUX=true
|
||||
|
||||
# Some package signature are invalid/expired, need to disable signature checking
|
||||
RUN sudo sed -i 's/SigLevel = Required DatabaseOptional/SigLevel = Never/g' /etc/pacman.conf
|
||||
|
||||
# required to use libguestfs inside a docker container, to create bootdisks for docker-osx on-the-fly
|
||||
RUN if [[ "${LINUX}" == true ]]; then \
|
||||
sudo pacman -Syu linux libguestfs --noconfirm \
|
||||
; fi
|
||||
|
||||
# Restoring pacman conf
|
||||
sed -i 's/SigLevel = Never/SigLevel = Required DatabaseOptional/g' /etc/pacman.conf
|
||||
|
||||
# optional --build-arg to change branches for testing
|
||||
ARG BRANCH=master
|
||||
ARG REPO='https://github.com/sickcodes/Docker-OSX.git'
|
||||
|
Loading…
Reference in New Issue
Block a user