1 parent 6191468 commit bb3aff0Copy full SHA for bb3aff0
1 file changed
app/Dockerfile
@@ -1,5 +1,7 @@
1
from rust:latest
2
3
+ARG GIT_COMMIT=1dc421474df2a4ee973d529534cd0eb7189d58ce
4
+
5
# Create needed directories
6
RUN mkdir /app /config
7
WORKDIR /app
@@ -14,6 +16,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
14
16
15
17
# Clone syncstorage-rs and build it
18
RUN git clone https://github.com/mozilla-services/syncstorage-rs ./ \
19
+ && git checkout ${GIT_COMMIT} \
20
&& cargo install --path ./syncserver --no-default-features --features=syncstorage-db/mysql --locked \
21
&& cargo install diesel_cli --no-default-features --features 'mysql' \
22
&& cargo clean
0 commit comments