Skip to content

Commit

Permalink
fix aline docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Jomy10 committed Jan 13, 2024
1 parent b7b977c commit f2aba3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion images/alpine.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ RUN cd beaver && bash build.sh build install

# Remove build dependencies & clean
RUN gem uninstall rake
RUN apk remove git bash ruby-dev gcc musl-dev
RUN apk del git bash ruby-dev gcc musl-dev
RUN apk cache clean

5 changes: 4 additions & 1 deletion images/make.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@

def build_image(name, os, tag, platforms, file)
sh "#{CONTAINER_MANAGER} buildx build " +
"#{$beaver.options[:push] ? "--push" : ""} " +
"#{($beaver.options[:push] && CONTAINER_MANAGER != "podman") ? "--push" : ""} " +
"--platform #{platforms.join(",")} " +
"--tag jomy10/#{name}:#{os}-#{tag} " +
"-f #{file} " +
"."
if CONTAINER_MANAGER == "podman"
sh "buildah push"
end
end

cmd :build do
Expand Down

0 comments on commit f2aba3b

Please sign in to comment.