forked from hashicorp/consul
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CONSUL-156] Create Dockerfile (Fortio) (#3)
- Loading branch information
1 parent
33f0b45
commit a37f59a
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM mcr.microsoft.com/windows/nanoserver:1809 | ||
|
||
RUN mkdir fortio | ||
|
||
ENV FORTIO_URL=https://github.com/fortio/fortio/releases/download/v1.33.0/fortio_win_1.33.0.zip | ||
RUN curl %FORTIO_URL% -L -o fortio.zip | ||
|
||
RUN tar -xf fortio.zip -C fortio | ||
|
||
ENV PATH C:\\fortio;%PATH% | ||
|
||
CMD [ "fortio.exe", "server" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters