Skip to content

Commit

Permalink
released version 0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
skaes committed Feb 9, 2024
1 parent 591eeb3 commit 2aeacbf
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
```


Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion fpm-fry.gemspec
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 2aeacbf

Please sign in to comment.