Skip to content

Commit f783dff

Browse files
committed
Use entrypoint
1 parent 3433ee6 commit f783dff

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

fossa/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ ENV GO_VERSION 1.12.9
1313
RUN choco install -y nodejs -version $env:NODE_VERSION ; \
1414
choco install -y golang -version $env:GO_VERSION
1515

16+
RUN npm install -g yarn
17+
1618
ENV FOSSA_VERSION 1.0.4
1719

1820
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; \
@@ -23,4 +25,5 @@ RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tl
2325
RUN $env:PATH = 'C:\fossa;{0}' -f $env:PATH ; \
2426
[Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine)
2527

26-
CMD [ "fossa.exe" ]
28+
ENTRYPOINT [ "fossa.exe" ]
29+
CMD [ "--version" ]

0 commit comments

Comments
 (0)