From 2755582c47322deff30825ecd5c2833271bbf001 Mon Sep 17 00:00:00 2001 From: Ali Afsharzadeh Date: Mon, 15 Jul 2024 22:15:25 +0330 Subject: [PATCH] Remove `--update` flag from `apk add` command --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 72640a3e..72d3346d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Use the official Ruby 3.2.0 Alpine image as the base image FROM ruby:3.2.0-alpine -# Install docker/buildx-bin +# Install docker/buildx-bin COPY --from=docker/buildx-bin /buildx /usr/libexec/docker/cli-plugins/docker-buildx # Set the working directory to /kamal @@ -14,7 +14,7 @@ COPY Gemfile Gemfile.lock kamal.gemspec ./ COPY lib/kamal/version.rb /kamal/lib/kamal/version.rb # Install system dependencies -RUN apk add --no-cache --update build-base git docker openrc openssh-client-default \ +RUN apk add --no-cache build-base git docker openrc openssh-client-default \ && rc-update add docker boot \ && gem install bundler --version=2.4.3 \ && bundle install