Commit Graph
100 Commits
Author SHA1 Message Date
Jonas ChevalierandGitHub 8fdb8770b3 Merge pull request #86 from generative-engineering/24.11
🆕 Target 24.11 too, now that it's out and non-beta
2024-12-05 15:24:07 +01:00
Jonas ChevalierandGitHub bccad7f19e Revert "images are on docker hub (#82)" (#84)
This reverts commit 783f5a2444.
2024-08-06 21:42:30 +02:00
Jonas ChevalierandGitHub 0ce26f2035 ci: also publish to GitHub Packages (#54)
Allow Github users to not have another external dependency.
2024-07-24 13:53:51 +02:00
zimbatm 3edc0c92e1 ci: remove unsupported 23.05 and 23.11 channels 2024-07-23 16:02:11 +02:00
zimbatm f6b4921246 nix-unstable: use nixVersions.latest by default
Release management has changed a bit and there is no nixUnstable
anymore.
2024-06-08 08:28:26 +02:00
Jonas ChevalierandGitHub bfac57f186 Merge pull request #77 from Scrumplex/aarch64-support-manifest
Generate multi-arch image manifests
2024-03-08 10:09:44 +01:00
Jonas ChevalierandGitHub 88be071d17 Merge pull request #75 from Scrumplex/aarch64-support
Add aarch64 support
2024-03-07 15:59:07 +01:00
Jonas ChevalierandGitHub 30ea4a75cd devcontainer: fix build on nixos-unstable (#64) 2023-07-18 17:31:21 +02:00
zimbatm e334012b86 bump to nixos-22.11
Fixes #47
2022-12-14 17:01:56 +01:00
zimbatm f0ddafd597 nix-unstable-static: enable nix flakes 2022-06-29 18:18:14 +02:00
zimbatm ac55a180db nix-unstable-static: ship with complementary user script 2022-06-29 17:00:08 +02:00
zimbatm bb3cbda9f3 nix-unstable-static: add run_as_user.sh script
Allow to run nix as a user.
2022-06-29 16:42:49 +02:00
zimbatm d884d77087 nix-unstable-static: use bash interactive
Make it more useful
2022-06-29 16:34:15 +02:00
zimbatm 2d185d5f68 README: fix matrix 2022-06-27 17:23:38 +02:00
Jonas ChevalierandGitHub 910b5937e5 Merge pull request #29 from teto/static
feat: added a nixStatic docker image
2022-06-27 17:13:39 +02:00
zimbatm 272875d0af feat: add nix-unstable-static docker image
This is a special docker images that contains no /nix/store. And only
static binaries in /bin.

The main use-case is to be able to bind-mount /nix from the host
into the container.
2022-06-27 17:05:13 +02:00
zimbatm cb688a90e3 nix-shell: set the NIX_PATH
Use the same version of nixpkgs as the shell itself
2022-06-27 16:56:21 +02:00
zimbatm 16fb0b4147 nix-shell: add dive to inspect images 2022-06-27 16:56:21 +02:00
zimbatm d0ece3e2a4 remove couchepotato
Upstream is dead and it has been removed from nixpkgs
2022-01-04 13:28:04 +01:00
Jonas ChevalierandGitHub 98182ffc0e Merge pull request #36 from maydayv7/patch-1
fix: Enable Nix `experimental-features` in `cachix-flakes` image
2022-01-02 14:45:45 +01:00
zimbatm 6bdf1707ae fixup! Build images for channel nixos-21.05 (#23) 2021-09-06 22:03:53 +02:00
Jonas ChevalierandGitHub 50b4d08da7 use scarf to serve the images (#21)
This allows us to easily switch between container registries while
keeping the same domain prefix. It also gives access to high-level
statistics on the docker pull which can be useful to find out which
images are being used or not.
2021-04-21 18:05:42 +02:00
zimbatm 0929c8c531 ci: build as much as possible
By default GitHub Actions cancels all the jobs in the build matrix if
any one of them fails. We actually want to keep going to get some
advancement on the other channels.
2021-03-08 17:41:14 +01:00
zimbatm 887722a603 nix-flakes: enable flakes in the config
Fixes #18
2021-03-08 12:18:43 +01:00
zimbatm e850799428 nixpkgs-fmt 2021-03-08 12:17:56 +01:00
zimbatm 70854a5310 README: add nixos-20.09 and fixes 2021-02-10 14:23:23 +01:00
zimbatm 4d4b61e919 docker-login: remove \n from token 2021-02-10 14:13:13 +01:00
zimbatm d36bde09e3 skopeo: use insecure-policy
Not sure what this is about, but it prevents me from pushing.
2021-02-10 14:06:24 +01:00
zimbatm 0d649be976 fix docker-login when ~/.docker exists 2021-02-10 13:50:31 +01:00
Jonas ChevalierandGitHub bf1338907c ci: add GitHub Actions cron (#16)
* ci: add dependabot

* ci: revamp logic

Merge username and password as a single auth token. It doesn't make
sense to split out the user and password since they are so tied
together. Might as well treat the whole think as a secret blob.

Remove Travis-CI. Travis is dead for OSS.

Add GitHub Actions cron. Remove cachix as it's pushing too much stuff.

Merge all of the CI logic into a single ci.sh script.
2021-02-10 13:25:01 +01:00
zimbatm 86f98e734f ci: add github-actions 2021-02-10 11:50:46 +01:00
zimbatm 7d21997381 Revert "Adding gnugrep to cachix (#14)"
This reverts commit 415031b849.

It wasn't really needed actually.
2021-02-10 10:36:16 +01:00
zimbatm dacde3f71f mkUserEnvironment: fix Nix compatibility issue
it was relying on a file that is not available in Nix unstable anymore
2020-11-27 15:44:39 +01:00
zimbatm d454de5f07 ci: add nixos-20.09 2020-11-27 15:32:49 +01:00
zimbatm a720d8ee4f remove 19.03 and 19.09 channels
Those are not receiving any more updates. Fix Nix invocations.
2020-07-07 13:00:21 +02:00
zimbatm 061bb32ed2 add cachix-flakes image 2020-07-07 12:09:39 +02:00
zimbatm 9519ca2731 fake_nixpkgs: add link to doc 2020-06-29 14:54:59 +02:00
zimbatmandGitHub 0b362172fb nix: introduce fake nixpkgs (#9)
Since <nixpkgs> wasn't working, might as well make the error more
explicit. That way, users are quickly aware if they forgot to pin their
nixpkgs.
2020-06-17 20:49:42 +00:00
zimbatm 53440b208e nix: add USER environment variable
This is required by the nix profile and cachix as well
2020-02-23 20:10:52 +01:00
zimbatm 669e1a3129 nix: fix /tmp permissions
The /tmp folder was missing the sticky bit
2020-02-23 20:10:16 +01:00
zimbatm 8ceae9d833 fixup! nix: openssh is a runtime dependency of git 2020-02-23 17:20:47 +01:00
zimbatm db90bcb3e9 nix: openssh is a runtime dependency of git 2020-02-23 17:14:57 +01:00
zimbatm cca23be027 hugo: add git as a dependency
Hugo needs Git to find meta informations such as the pubDate
2020-02-23 17:03:28 +01:00
zimbatm 889fb542e6 cachix: fix build on 19.09 and under 2020-02-23 16:21:08 +01:00
zimbatm 3d793011e6 cachix: fix the description 2020-02-23 15:12:47 +01:00
zimbatm 3c956bc24c add the nixos-20.03 channel 2020-02-23 15:09:15 +01:00
zimbatm ab443863a5 add cachix 2020-02-23 14:58:30 +01:00
zimbatm 777ae73ea1 add hugo 2020-02-23 14:54:32 +01:00
zimbatm 6597ff1349 ci: fix Travis CI builds
* run the ./build after setting the NIX_PATH. Previously the images
  were always generate with the system channel. Oops!
* pin the outer shell version to nixos-19.09. skopeo broke in unstable.
  also we don't need to force the system here, technically this could
  run on macOS.
2020-02-09 16:23:27 +01:00
zimbatm e58ed5052b nix: add NIX_BUILD_SHELL
This is useful to avoid having nix-shell evaluate nixpkgs twice.
2020-02-07 21:35:56 +01:00
zimbatm 1305bc0290 add nix-flakes 2020-02-07 21:34:30 +01:00
zimbatm b749d9b211 add caddy 2020-01-27 15:18:32 +01:00
zimbatm 5fc2cb9960 devcontainer: add a proper pager
The image is already quite big, why not add a proper pager?
2019-12-25 16:46:16 +01:00
zimbatm 4eefbd763a devcontainer: sedutil -> gnused
might as well use GNU tools like on other Linux distros
2019-12-24 14:26:45 +01:00
zimbatm 91703f92f2 devcontainer: -direnv, +procps
it wasn't such a good idea to add direnv by default
2019-12-24 14:15:21 +01:00
zimbatm 7fc8ed492e README: add nixery as a related project 2019-12-23 18:19:17 +01:00
zimbatm cc193359bb devcontainer: add /home folder
useradd breaks if /home doesn't exist
2019-12-21 09:07:30 +01:00
zimbatm 3f1e51533a devcontainer: add grep and direnv 2019-12-20 22:07:10 +01:00
zimbatm ddd995d1fd devcontainer: remove sudo
sudo is not needed in the end
2019-12-20 20:09:02 +01:00
zimbatm 5e724edccd devcontainer: use the right channel informations
<nixpkgs> is already resolved from channel:nixos-19.09 to a store path
as nix evaluation time.
2019-12-20 18:38:07 +01:00
zimbatm 7ed6a50917 ci: add the NIXPKGS_CHANNEL shortcut 2019-12-20 17:16:21 +01:00
zimbatm 9f61ec7d27 mkUserEnvironment: polyfill for older versions of nix 2019-12-20 15:43:07 +01:00
zimbatm 8014dcc5af devcontainer: vscode depends on sed 2019-12-20 12:39:59 +01:00
zimbatm 751d7a6714 devcontainer: init 2019-12-20 12:28:21 +01:00
zimbatm f90912f967 release.nix -> default.nix
the default should be to build all the images
2019-12-17 23:35:43 +01:00
zimbatm 987c5c9460 travis: publish nixos-19.09
Fixes #6
2019-12-16 11:36:31 +01:00
zimbatm 18d25bb382 push-all: move verbose output
To help debug #6
2019-12-16 11:03:23 +01:00
zimbatm c45c53b8c4 nix: select current nixpkgs version
a nixos-18.09 image should default to the same nixpkgs version
2019-12-15 15:57:42 +01:00
zimbatm 949ac55e09 stop accepting nixpkgs as an argument
set the NIX_PATH to select the version of nixpkgs to use
2019-12-15 15:57:40 +01:00
zimbatm 39694ed1d8 nixpkgs-fmt 2019-12-15 15:20:42 +01:00
zimbatm 77f9b50c78 nix: smaller closure
Thanks to https://gist.github.com/tomberek/53a1f50def192cc924672eddda3719c7#file-docker-helper-nix-L146-L151
2019-12-15 15:16:21 +01:00
zimbatm 1fa23404ff update to nixos-19.09 2019-11-21 13:14:01 +00:00
zimbatm b9d1e3ad19 couchpotato: new package 2019-06-25 13:44:15 +02:00
zimbatm 3dfddf91b7 README: misc fixes 2019-03-16 15:48:28 +01:00
zimbatm d8642dcc66 README: add microbadger links 2019-03-16 15:45:32 +01:00
zimbatm 00e19c8779 add nginx for fun 2019-03-16 15:41:12 +01:00
zimbatm aa62d8a2a6 README: fix duplicated image table 2019-03-16 15:35:10 +01:00
zimbatmandGitHub e72af62aa2 Merge pull request #2 from nix-community/import-dir
Import dir
2019-03-16 14:01:15 +00:00
zimbatm 6385004fa8 introduce importDir
avoid repeating myself

to create a new image, create a new folder under ./images that contains
a default.nix. That's it.
2019-03-16 14:56:46 +01:00
zimbatm fd0323f40f move images into ./images
having a folder with all of the images makes things easier
2019-03-16 14:50:00 +01:00
zimbatm 9c5e06ad07 nix-unstable: transform into package
move the logic into the package
2019-03-16 14:46:39 +01:00
zimbatm f9c33c375e docker-compose: move condition to package
make the default.nix self-sufficient
2019-03-16 14:43:18 +01:00
zimbatmandGitHub f31c910416 new channel: nixos-19.03 (#1) 2019-03-15 13:49:46 +00:00
zimbatm e62437e814 shell.nix: remove unused attribute 2019-02-19 22:00:59 +01:00
zimbatm 2aefa0599e add meta attributes to all images
augment the images with meta attributes from the input packages.

and then use the meta.description as dockerhub metadata.
2019-02-17 12:10:00 +01:00
zimbatm 8cbbfe7009 generate the DockerHub image matrix 2019-02-15 14:48:42 +01:00
zimbatm e9633d0d58 add label to all CLI images
Try this out. These labels are used by Docker Hub to link back to the
repository.
2019-02-15 14:05:12 +01:00
zimbatm 3501875f69 README: improve the doc a bit 2019-02-15 11:11:26 +01:00
zimbatm 16e635f8e1 add busybox 2019-02-14 21:34:56 +01:00
zimbatm 7f8aa1fa25 add bash 2019-02-13 20:49:22 +01:00
zimbatm e97a236529 update DockerHub info
create a script that automatically updates the DockerHub project pages
2019-02-13 19:18:57 +01:00
zimbatm 9baba96f89 abstract CLI image generation
and add busybox in all the images
2019-02-08 21:15:41 +01:00
zimbatm 10e9882705 docker-login: shellcheck fix 2019-02-07 19:16:11 +01:00
zimbatm 9ccd9a4c04 nix: add nsswitch.conf 2019-02-07 15:14:49 +01:00
zimbatm 2575fc5aa5 add docker-compose 2019-02-06 23:21:49 +01:00
zimbatm fccaa2a29c fixup! add Travis CI 2019-02-06 12:29:42 +01:00
zimbatm 36fa566355 add Travis CI 2019-02-06 11:59:52 +01:00
zimbatm 6b517528ee prepare for multi-CI
split things out so more can be shared between CIs
2019-02-06 11:57:24 +01:00
zimbatm 7a8122c5f4 talk about security updateS 2019-01-20 00:34:55 +01:00
zimbatm 4bc1a4e847 set system to x86_64-linux 2019-01-19 22:43:33 +01:00