Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3115423
D3818.id11817.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
578 B
Referenced Files
None
Subscribers
None
D3818.id11817.diff
View Options
diff --git a/services/identity/Dockerfile b/services/identity/Dockerfile
--- a/services/identity/Dockerfile
+++ b/services/identity/Dockerfile
@@ -4,6 +4,9 @@
RUN useradd -m comm
USER comm
+# The build.rs script depends on rustfmt
+RUN rustup component add rustfmt
+
RUN mkdir -p /home/comm/app/identity
WORKDIR /home/comm/app/identity
RUN cargo init --bin
@@ -20,9 +23,6 @@
# rebuilt
RUN rm ./target/release/deps/identity*
-# The build.rs script depends on rustfmt
-RUN rustup component add rustfmt
-
RUN cargo build --release
CMD ["./target/release/identity"]
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 1, 9:28 PM (22 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2401829
Default Alt Text
D3818.id11817.diff (578 B)
Attached To
Mode
D3818: [Identity] Reorder Dockerfile contents
Attached
Detach File
Event Timeline
Log In to Comment