Skip to content

Commit

Permalink
Default OptimizeForPerformance to false on arm32 (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
myagley authored Jan 29, 2019
1 parent de9d041 commit 43d47b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edge-hub/docker/linux/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ EXPOSE 5671/tcp
EXPOSE 443/tcp

USER edgehubuser

ENV OptimizeForPerformance false
CMD echo "$(date --utc +"[%Y-%m-%d %H:%M:%S %:z]"): Starting Edge Hub" && \
exec /usr/bin/dotnet Microsoft.Azure.Devices.Edge.Hub.Service.dll
3 changes: 2 additions & 1 deletion edge-hub/docker/windows/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ EXPOSE 5671/tcp
EXPOSE 443/tcp

USER edgehubuser
CMD ["dotnet", "Microsoft.Azure.Devices.Edge.Hub.Service.dll"]
ENV OptimizeForPerformance false
CMD ["dotnet", "Microsoft.Azure.Devices.Edge.Hub.Service.dll"]

0 comments on commit 43d47b0

Please sign in to comment.