Skip to content

Commit 118dd64

Browse files
1084565fwilhe
authored andcommitted
Add bash to alpine image (#5)
Without bash the container won't run on Azure Devops. cf. [Azure doc](https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=azure-devops&tabs=yaml)
1 parent b15ea92 commit 118dd64

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM maven:3.5-jdk-8-alpine
22

3-
RUN mvn com.sap.cloud:neo-javaee6-wp-maven-plugin:2.164.4:install-sdk -DsdkInstallPath=sdk -Dincludes=tools/**,license/**,sdk.version && \
3+
RUN apk add --no-cache bash && \
4+
mvn com.sap.cloud:neo-javaee6-wp-maven-plugin:2.164.4:install-sdk -DsdkInstallPath=sdk -Dincludes=tools/**,license/**,sdk.version && \
45
chmod -R 777 sdk && \
56
ln -s /sdk/tools/neo.sh /usr/bin/neo.sh && \
67
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)