Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jhongturney committed Jan 25, 2024
1 parent befe386 commit 2907656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ ARG RUBY_VERSION="2.5"
FROM ruby:${RUBY_VERSION} as ruby
ARG RUBY_VERSION
ENV RUBY_VERSION="${RUBY_VERSION}"
ARG PUPPET_VERSION
ENV PUPPET_VERSION="${PUPPET_VERSION}"
RUN rm -rf $GEM_HOME $BUNDLE_PATH $BUNDLE_BIN $BUNDLE_APP_CONFIG
RUN apt-get update && apt-get install -y cmake openssl libssl-dev
RUN sed -i'' -e 's/CipherString = DEFAULT@SECLEVEL=2/CipherString = DEFAULT@SECLEVEL=1/g' /etc/ssl/openssl.cnf
RUN sed -i'' -e 's/MinProtocol = TLSv1.2/MinProtocol = TLSv1/g' /etc/ssl/openssl.cnf

FROM scratch AS app
ARG PUPPET_VERSION
ENV PUPPET_VERSION="${PUPPET_VERSION}"
COPY --from=ruby / /
WORKDIR /app
ENV LANG="C.UTF-8"
Expand Down

0 comments on commit 2907656

Please sign in to comment.