-# Grab the repository at the specified branch or tag. If there wasn't any change we should enjoy the cache.
-RUN sh -c '\
- cd /tmp/ctdl_build && \
- git clone -b $branch --single-branch https://code.citadel.org/citadel/citadel.git'
+# Download the latest Citadel code
+RUN curl https://easyinstall.citadel.org/libcitadel-easyinstall.tar.gz | tar xvzf -
+RUN curl https://easyinstall.citadel.org/citadel-easyinstall.tar.gz | tar xvzf -
+RUN curl https://easyinstall.citadel.org/webcit-easyinstall.tar.gz | tar xvzf -
+RUN curl https://easyinstall.citadel.org/textclient-easyinstall.tar.gz | tar xvzf -