Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

Commit 02a727e

Browse files
committed
Added conversion from the DOS-style line-endings to unix-style.
In case of image creation under the Windows OS.
1 parent 9612ac5 commit 02a727e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FROM centos:centos6
66
# docker load -i oraclelinux-6.6.tar.xz
77
# FROM oraclelinux:6.6
88

9-
RUN yum -y install hostname.x86_64 rubygems ruby-devel gcc git unzip
9+
RUN yum -y install hostname.x86_64 rubygems ruby-devel gcc git unzip dos2unix
1010
RUN echo "gem: --no-ri --no-rdoc" > ~/.gemrc
1111

1212
RUN rpm --import https://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs && \
@@ -41,6 +41,7 @@ RUN puppet apply /etc/puppet/site.pp --verbose --detailed-exitcodes || [ $? -eq
4141
EXPOSE 1521
4242

4343
ADD startup.sh /
44+
RUN dos2unix -o /startup.sh
4445
RUN chmod 0755 /startup.sh
4546

4647
WORKDIR /

0 commit comments

Comments
 (0)