Skip to content

Commit

Permalink
build image without systemd
Browse files Browse the repository at this point in the history
Not only does nixos not have a split systemd.lib package, it also gets
two copies of systemd in the image:
NixOS/nixpkgs#97051
NixOS/nixpkgs#98094

Let's not include it for now, the only detraction is that the
systemd/journald logger wont be available in uwsgi.

On the good side, the image went from 50MB to 30MB now.
  • Loading branch information
gdamjan committed Sep 16, 2020
1 parent 624c224 commit ee031a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:

- uses: cachix/install-nix-action@v10
with:
nix_path: nixpkgs=https://github.com/gdamjan/nixpkgs/archive/fix-uwsgi-php-try3.tar.gz
nix_path: nixpkgs=https://github.com/gdamjan/nixpkgs/archive/my-20.09.tar.gz

- run: nix-build
- run: nix-build --arg withSystemd false

- name: Prepare release files
run: |
Expand Down

0 comments on commit ee031a6

Please sign in to comment.