Use /bin/bash as default CMD instruction

The previous `['/bin/bash']` was not working, running the image
with `podman run -it <name>` would evaluate to:
```
> sh -c ['/bin/bash']
sh: [/bin/bash]: No such file or directory
```
This commit is contained in:
Rémi Verschelde
2019-11-15 11:22:07 +01:00
parent 2d95ceb333
commit a5ceea36da
12 changed files with 12 additions and 11 deletions

View File

@@ -31,4 +31,4 @@ RUN git clone https://github.com/mono/mono --branch mono-${mono_version} --singl
cd .. && \
rm -rf /root/mono /root/godot-mono-builds
CMD ['/bin/bash']
CMD /bin/bash

View File

@@ -4,4 +4,4 @@ RUN dnf -y install --setopt=install_weak_deps=False \
xorg-x11-server-Xvfb mesa-dri-drivers libXcursor libXinerama libXrandr libXi alsa-lib pulseaudio-libs java-1.8.0-openjdk-devel && \
dnf clean all
CMD ['/bin/bash']
CMD /bin/bash

View File

@@ -20,4 +20,4 @@ RUN dnf -y install --setopt=install_weak_deps=False \
ENV OSXCROSS_IOS=not_nothing
CMD ['/bin/bash']
CMD /bin/bash

View File

@@ -26,4 +26,4 @@ RUN git clone https://github.com/mono/mono --branch mono-${mono_version} --singl
cd .. && \
rm -rf /root/mono /root/godot-mono-builds
CMD ['/bin/bash']
CMD /bin/bash

View File

@@ -19,3 +19,5 @@ RUN if [ -z "${mono_version}" ]; then echo -e "\n\nargument mono-version is mand
https://download.mono-project.com/repo/centos8-stable/m/msbuild/msbuild-sdkresolver-16.0+xamarinxplat.2018.09.26.17.53-0.xamarin.5.epel8.noarch.rpm \
https://download.mono-project.com/repo/centos8-stable/n/nuget/nuget-4.7.0.5148.bin-0.xamarin.2.epel8.noarch.rpm && \
rm -rf /root/mono
CMD /bin/bash

View File

@@ -6,4 +6,4 @@ RUN dnf -y install --setopt=install_weak_deps=False \
xorg-x11-server-Xvfb libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel libXi-devel alsa-lib-devel pulseaudio-libs-devel libudev-devel mesa-libGL-devel mesa-libGLU-devel mesa-dri-drivers && \
dnf clean all
CMD ['/bin/bash']
CMD /bin/bash

View File

@@ -25,4 +25,4 @@ RUN dnf -y install --setopt=install_weak_deps=False \
rm -rf /root/.wine/drive_c/users/root/Temp/* && \
rm -rf /root/.cache
CMD /usr/bin/bash
CMD /bin/bash

View File

@@ -62,4 +62,4 @@ RUN git clone https://github.com/mono/mono --branch mono-${mono_version} --singl
ENV MONO64_PREFIX=/root/dependencies/mono
ENV OSXCROSS_ROOT=/root/osxcross
CMD ['/bin/bash']
CMD /bin/bash

View File

@@ -40,4 +40,4 @@ RUN git clone https://github.com/mono/mono --branch mono-${mono_version} --singl
rm *.deb && \
rm -rf /root/mono
CMD ['/bin/bash']
CMD /bin/bash

View File

@@ -40,4 +40,4 @@ RUN git clone https://github.com/mono/mono --branch mono-${mono_version} --singl
rm *.deb && \
rm -rf /root/mono
CMD ['/bin/bash']
CMD /bin/bash

View File

@@ -41,4 +41,4 @@ RUN git clone https://github.com/mono/mono --branch mono-${mono_version} --singl
ENV MONO32_PREFIX=/root/dependencies/mono-32
ENV MONO64_PREFIX=/root/dependencies/mono-64
CMD ['/bin/bash']
CMD /bin/bash

View File

@@ -36,4 +36,3 @@ CMD mkdir -p /root/xcode && \
cp -r Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 /tmp/iPhoneOS12.4.sdk/usr/include/c++ && \
cd /tmp && \
tar -cJf /root/files/iPhoneSimulator12.4.sdk.tar.xz iPhoneOS12.4.sdk