Skip to content

Commit

Permalink
Fix issue with Windows container image (envoyproxy#17113)
Browse files Browse the repository at this point in the history
Signed-off-by: Sotiris Nanopoulos <[email protected]>
Signed-off-by: chris.xin <[email protected]>
  • Loading branch information
Sotiris Nanopoulos authored and chrisxrepo committed Jul 8, 2021
1 parent b7afc59 commit dc0ffb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/Dockerfile-envoy-windows
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ ARG BUILD_TAG=ltsc2019

FROM $BUILD_OS:$BUILD_TAG

USER ContainerAdministrator
RUN net user /add "EnvoyUser"
RUN net localgroup "Network Configuration Operators" "EnvoyUser" /add

RUN mkdir "C:\\Program\ Files\\envoy"
RUN setx path "%path%;c:\Program Files\envoy"
RUN setx /M path "%path%;c:\Program Files\envoy"
ADD ["windows/amd64/envoy.exe", "C:/Program Files/envoy/"]

RUN mkdir "C:\\ProgramData\\envoy"
Expand Down

0 comments on commit dc0ffb8

Please sign in to comment.