From 2aeacbf6d40a62a929c39780c669911ce51776fe Mon Sep 17 00:00:00 2001 From: Stefan Kaes Date: Fri, 9 Feb 2024 14:30:45 +0100 Subject: [PATCH] released version 0.7.2 --- CHANGELOG.md | 9 +++++++++ README.md | 20 ++++++++++++-------- fpm-fry.gemspec | 2 +- 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b307582..29b1bc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# 0.7.2 / 2024.02.09 +* support --pull flag on cook to automatically pull the base image +* avoid "implicit conversion of nil into String errors" when base image is missing +* use ARG instead of ENV to silence apt commands +* updated ruby versions used by Github actions + +# 0.7.1 / 2023.06.14 +* export target platform to recipes as architecture method. + # 0.7.0 / 2023.06.13 * [ENHANCEMENT] Support cross platform package builds. diff --git a/README.md b/README.md index 3f2813f..616ae6a 100644 --- a/README.md +++ b/README.md @@ -65,16 +65,20 @@ run './build.sh' run 'make', 'install' ``` -Recipe files contains informations about the used sources, required software packages and build steps. +Recipe files contains information about used sources, required software packages and build +steps. -If you don't tell fpm-fry which recipe to use it will look for a file called `recipe.rb` in the current directory. +If you don't tell fpm-fry which recipe to use it will look for a file called `recipe.rb` +in the current directory. -Unlike fpm-cookery fpm-fry needs to know additionally which docker image it should use to build ( `ubuntu:precise` in this example ). -fpm-fry does not pull this image into the docker instance, you have to make sure that it's present and valid ( do `docker pull ubuntu:precise` before you try something ). +Unlike fpm-cookery fpm-fry needs to know additionally which docker image it should use to +build ( `ubuntu:precise` in the example below). fpm-fry does not automatically pull this +image into the docker instance, but you can use the `--pull` option trigger the necessary +pull command. Or you can pull it manually ( `docker pull ubuntu:precise` in our example ). To build your first package type: - $> fpm-fry cook ubuntu:precise recipe.rb + $> fpm-fry cook --pull ubuntu:precise recipe.rb Recipe syntax @@ -323,10 +327,10 @@ using docker syntax. ``` # Build amd64 package -fpm-fry cook --platform amd64 amd64/ubuntu:jammy recipe.rb +fpm-fry cook --pull --platform amd64 amd64/ubuntu:jammy recipe.rb # Build arm64 package -fpm-fry cook --platform arm64 arm64v8/ubuntu:jammy recipe.rb +fpm-fry cook --pull --platform arm64 arm64v8/ubuntu:jammy recipe.rb ``` @@ -368,7 +372,7 @@ License The MIT License (MIT) -Copyright (c) 2018 XING AG +Copyright (c) 2018-2024 XING AG Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/fpm-fry.gemspec b/fpm-fry.gemspec index ffeb676..bf1d922 100644 --- a/fpm-fry.gemspec +++ b/fpm-fry.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |gem| gem.name = 'fpm-fry' - gem.version = '0.7.1' + gem.version = '0.7.2' gem.date = Time.now.strftime("%Y-%m-%d") gem.summary = "FPM Fry"