Skip to content

Commit

Permalink
Update generated Dockerfiles (#73)
Browse files Browse the repository at this point in the history
Looks like these generated Dockerfiles became stale. Most likely a result of multiple PRs merging simultaneously. I have a bug filed to hopefully prevent this once a solution is found: #10
  • Loading branch information
djbender authored Mar 22, 2023
1 parent 100627d commit b6ff8ff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions ruby/3.2-fat/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ RUN <<EOT
set -eux
mkdir -p /usr/src/app
chown docker:docker /usr/src/app
apt update
apt install -qqy --no-install-recommends \
apt-get update
apt-get install --yes --no-install-recommends \
bzip2 \
libffi-dev \
libgmp-dev \
Expand Down Expand Up @@ -48,8 +48,8 @@ RUN <<EOT
#!/usr/bin/env bash
set -eux
savedAptMark="$(apt-mark showmanual)"
apt update
apt install -qqy --no-install-recommends \
apt-get update
apt-get install --yes --no-install-recommends \
autoconf \
bison \
dpkg-dev \
Expand Down Expand Up @@ -94,7 +94,7 @@ RUN <<EOT
| cut -d: -f1 \
| sort -u \
| xargs -r apt-mark manual
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
apt-get purge --yes --auto-remove -o APT::AutoRemove::RecommendsImportant=false
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/cache/*
cd /
rm -r /usr/src/ruby
Expand All @@ -104,8 +104,8 @@ RUN <<EOT
gem update --no-document --system $RUBYGEMS_VERSION
gem install --no-document bundler -v $BUNDLER_VERSION
# Install build dependencies for fat image, NOTE: fat image is NOT meant to be deployed to production
apt update
apt install -qqy --no-install-recommends \
apt-get update
apt-get install --yes --no-install-recommends \
autoconf \
bison \
build-essential \
Expand Down
10 changes: 5 additions & 5 deletions ruby/3.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ RUN <<EOT
set -eux
mkdir -p /usr/src/app
chown docker:docker /usr/src/app
apt update
apt install -qqy --no-install-recommends \
apt-get update
apt-get install --yes --no-install-recommends \
bzip2 \
libffi-dev \
libgmp-dev \
Expand Down Expand Up @@ -48,8 +48,8 @@ RUN <<EOT
#!/usr/bin/env bash
set -eux
savedAptMark="$(apt-mark showmanual)"
apt update
apt install -qqy --no-install-recommends \
apt-get update
apt-get install --yes --no-install-recommends \
autoconf \
bison \
dpkg-dev \
Expand Down Expand Up @@ -94,7 +94,7 @@ RUN <<EOT
| cut -d: -f1 \
| sort -u \
| xargs -r apt-mark manual
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
apt-get purge --yes --auto-remove -o APT::AutoRemove::RecommendsImportant=false
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/cache/*
cd /
rm -r /usr/src/ruby
Expand Down

0 comments on commit b6ff8ff

Please sign in to comment.