Skip to content

Commit

Permalink
Merge pull request #624 from Tecnativa/fix-test-git-safe-fake-odoo
Browse files Browse the repository at this point in the history
[FIX] Mark /tmp/fake-odoo as safe
  • Loading branch information
josep-tecnativa authored Sep 27, 2024
2 parents fc5b2c4 + 92b6174 commit 312a923
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 13.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ RUN apt-get -qq update \
telnet \
vim \
zlibc \
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' >> /etc/apt/sources.list.d/postgresql.list \
&& echo 'deb https://apt-archive.postgresql.org/pub/repos/apt buster-pgdg main' >> /etc/apt/sources.list.d/postgresql.list \
&& curl -SL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& apt-get update \
&& apt-get install -yqq --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion 14.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ RUN apt-get -qq update \
telnet \
vim \
zlibc \
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' >> /etc/apt/sources.list.d/postgresql.list \
&& echo 'deb https://apt-archive.postgresql.org/pub/repos/apt buster-pgdg main' >> /etc/apt/sources.list.d/postgresql.list \
&& curl -SL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& apt-get update \
&& curl --silent -L --output geoipupdate_${GEOIP_UPDATER_VERSION}_linux_${TARGETARCH}.deb https://github.com/maxmind/geoipupdate/releases/download/v${GEOIP_UPDATER_VERSION}/geoipupdate_${GEOIP_UPDATER_VERSION}_linux_${TARGETARCH}.deb \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ mkdir /tmp/fake-odoo
cd /tmp/fake-odoo

git init
git config --system --add safe.directory /tmp/fake-odoo/.git
touch odoo-bin
git add odoo-bin
git commit -m odoo-bin
Expand Down

0 comments on commit 312a923

Please sign in to comment.