mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 12:25:44 +00:00
Fix debian build dockerfile
Make sure it refreshes the apt cache before trying to install stuff
This commit is contained in:
parent
f595d6ac57
commit
649fe1c2be
@ -58,7 +58,11 @@ RUN apt-get update -qq -o Acquire::Languages=none \
|
|||||||
sqlite3
|
sqlite3
|
||||||
|
|
||||||
COPY --from=builder /dh-virtualenv_1.1-1_all.deb /
|
COPY --from=builder /dh-virtualenv_1.1-1_all.deb /
|
||||||
RUN apt-get install -yq /dh-virtualenv_1.1-1_all.deb
|
|
||||||
|
# install dhvirtualenv. Update the apt cache again first, in case we got a
|
||||||
|
# cached cache from docker the first time.
|
||||||
|
RUN apt-get update -qq -o Acquire::Languages=none \
|
||||||
|
&& apt-get install -yq /dh-virtualenv_1.1-1_all.deb
|
||||||
|
|
||||||
WORKDIR /synapse/source
|
WORKDIR /synapse/source
|
||||||
ENTRYPOINT ["bash","/synapse/source/docker/build_debian.sh"]
|
ENTRYPOINT ["bash","/synapse/source/docker/build_debian.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user