]> git.immae.eu Git - github/fretlink/docker-nix.git/log
github/fretlink/docker-nix.git
2 years agoMerge pull request #11 from ismaelbouyaf/remove-sandbox-false master 2.3.9-channel-unstable-2021-10-14
ismaelbouyaf [Thu, 14 Oct 2021 13:19:24 +0000 (15:19 +0200)] 
Merge pull request #11 from ismaelbouyaf/remove-sandbox-false

Remove sandbox=false

2 years agoRemove sandbox=false 11/head
Ismaël Bouya [Wed, 13 Oct 2021 14:25:28 +0000 (16:25 +0200)] 
Remove sandbox=false

The sandbox was (probably) enabled due to the .stack/shell.nix files: it made use of buildStackProject, which requires to run outside of the sandbox for some reason ( https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/generic-stack-builder.nix#L25 ). Now that this file is not used anymore, we can reenable the sandbox.

It should help fix in particular this recent issue we’re facing in the CI: https://github.com/jfischoff/tmp-postgres/issues/251

2 years agoMerge pull request #13 from ismaelbouyaf/fix-github-action
ismaelbouyaf [Thu, 14 Oct 2021 13:03:56 +0000 (15:03 +0200)] 
Merge pull request #13 from ismaelbouyaf/fix-github-action

Fix github action

2 years agoFix github action 13/head
Ismaël Bouya [Thu, 14 Oct 2021 09:41:35 +0000 (11:41 +0200)] 
Fix github action

2 years agoMerge pull request #12 from ismaelbouyaf/use-github-action
ismaelbouyaf [Thu, 14 Oct 2021 09:33:48 +0000 (11:33 +0200)] 
Merge pull request #12 from ismaelbouyaf/use-github-action

Use github action

2 years agoUse github action 12/head
Ismaël Bouya [Wed, 13 Oct 2021 15:27:37 +0000 (17:27 +0200)] 
Use github action

3 years agoMerge pull request #9 from ismaelbouyaf/use_dedicated_system
ismaelbouyaf [Thu, 17 Dec 2020 14:07:41 +0000 (15:07 +0100)] 
Merge pull request #9 from ismaelbouyaf/use_dedicated_system

Use dedicated system path for nix

3 years agoUpgrade nix version 9/head
Ismaël Bouya [Thu, 17 Dec 2020 13:52:08 +0000 (14:52 +0100)] 
Upgrade nix version

3 years agoUse a profile folder outside of /nix/var
Ismaël Bouya [Wed, 16 Dec 2020 16:07:17 +0000 (17:07 +0100)] 
Use a profile folder outside of /nix/var

3 years agoUse dedicated system path for nix
Ismaël Bouya [Wed, 16 Dec 2020 15:53:14 +0000 (16:53 +0100)] 
Use dedicated system path for nix

4 years agoMerge pull request #8 from paulrbr-fl/upgrade-nix 2.3.4-channel-19.09
paulrbr-fl [Mon, 4 May 2020 20:05:18 +0000 (22:05 +0200)] 
Merge pull request #8 from paulrbr-fl/upgrade-nix

Nix upgrade to 2.3.4 and volume management tweak

4 years agonix: upgrade from 2.3.1 to 2.3.4 8/head
Paul Bonaud [Mon, 4 May 2020 16:50:58 +0000 (18:50 +0200)] 
nix: upgrade from 2.3.1 to 2.3.4

Mostly bugfixes inside nix itself ✨

4 years agovolume: no need to duplicate the initial nix store
Paul Bonaud [Mon, 4 May 2020 16:46:33 +0000 (18:46 +0200)] 
volume: no need to duplicate the initial nix store

This is a partial revert of #7 where we added a copy of the initial
nix store to make sure it's not lost when we use a volume for the /nix
mounting point in the container.

However this was an unecessary duplication.

The initial nix store is already present in the docker image and can be
retrieved by using a “named” volume with `-v nix-store:/nix`, docker
will copy the /nix path of the image inside a volume called
`nix-store` on the host machine for us we don't need to it manually.

Of course if mounting an empty directory from the host machine (with
`-v /tmp/nix-store:/nix`) then the image won't boot (because docker
will NOT copy the content of the /nix path inside the image into the
/tmp/nix-store path of the host machine).

This change drastically reduces the image size (basically /2 as we
were duplicating the biggest source of disk space…)

```
REPOSITORY          TAG                 IMAGE ID            CREATED              SIZE
docker-nix          2.3.4-vol           f74209e25515        About a minute ago   1.58GB
docker-nix          2.3.4               61880484ceb1        12 minutes ago       835MB
```

Let's be 🍃 instead of ⛰️

4 years agoMerge pull request #7 from paulrbr-fl/nix-store-as-a-volym 2.3.1-channel-19.09-v2
paulrbr-fl [Wed, 5 Feb 2020 17:15:32 +0000 (18:15 +0100)] 
Merge pull request #7 from paulrbr-fl/nix-store-as-a-volym

volume: change base images to be able to mount /nix/store as volume

4 years agovolume: change base images to be able to mount /nix/store as volume 7/head
Paul Bonaud [Wed, 5 Feb 2020 08:56:55 +0000 (09:56 +0100)] 
volume: change base images to be able to mount /nix/store as volume

These changes will allow the nix store to be mounted as a volume and
still be able to launch a bash console with the correct nix
environment.

4 years agoMerge pull request #6 from paulrbr-fl/upgrade-nix 2.3.1-channel-19.09
paulrbr-fl [Tue, 10 Dec 2019 08:52:45 +0000 (09:52 +0100)] 
Merge pull request #6 from paulrbr-fl/upgrade-nix

Upgrade: nix to latest v2.3.1 and upgrade channel to stable 19.09

4 years agoUpgrade: nix to latest v2.3.1 and upgrade channel to stable 19.09 6/head
Paul Bonaud [Mon, 9 Dec 2019 21:14:34 +0000 (22:14 +0100)] 
Upgrade: nix to latest v2.3.1 and upgrade channel to stable 19.09

5 years agoMerge pull request #5 from haitlahcen/upgrade-19.03 2.2.1-channel-19.03
Hussein A [Fri, 22 Mar 2019 11:41:32 +0000 (12:41 +0100)] 
Merge pull request #5 from haitlahcen/upgrade-19.03

Upgrade from 18.09 to 19.03

5 years agochore(readme): update 5/head
Hussein Ait-Lahcen [Fri, 22 Mar 2019 11:36:52 +0000 (12:36 +0100)] 
chore(readme): update

5 years agochore(nix-cli): upgrade from 2.1.3 to 2.2.1
Hussein Ait-Lahcen [Fri, 22 Mar 2019 10:34:32 +0000 (11:34 +0100)] 
chore(nix-cli): upgrade from 2.1.3 to 2.2.1

5 years agochore(nix-channel): upgrade from 18.09 to 19.03 and add special `unstable`
Hussein Ait-Lahcen [Fri, 22 Mar 2019 10:16:58 +0000 (11:16 +0100)] 
chore(nix-channel): upgrade from 18.09 to 19.03 and add special `unstable`

5 years agoMerge pull request #4 from haitlahcen/stable-nixpkgs 2.1.3-2
Hussein Ait -Lahcen [Mon, 5 Nov 2018 09:32:10 +0000 (10:32 +0100)] 
Merge pull request #4 from haitlahcen/stable-nixpkgs

fix: pin unstable nixpkgs to latest stable release (18.09)

5 years agofix: pin unstable nixpkgs to latest stable release (18.09) 4/head
Hussein Ait-Lahcen [Mon, 5 Nov 2018 09:15:20 +0000 (10:15 +0100)] 
fix: pin unstable nixpkgs to latest stable release (18.09)

5 years agoMerge pull request #3 from paulrbr-fl/add-debian-based 2.1.3-1
paulrbr-fl [Wed, 31 Oct 2018 11:03:27 +0000 (12:03 +0100)] 
Merge pull request #3 from paulrbr-fl/add-debian-based

Add debian based images

5 years agoAdd debian based images 3/head
Paul B [Wed, 31 Oct 2018 10:43:02 +0000 (11:43 +0100)] 
Add debian based images

5 years agoMerge pull request #2 from paulrbr-fl/add-lang 2.1.3
paulrbr-fl [Mon, 29 Oct 2018 09:41:25 +0000 (10:41 +0100)] 
Merge pull request #2 from paulrbr-fl/add-lang

Build locales with NIX

5 years agoBuild locales with NIX 2/head
Paul B [Mon, 29 Oct 2018 09:26:49 +0000 (10:26 +0100)] 
Build locales with NIX

Again something found and debugged by the 🦸 @haitlahcen

5 years agoMerge pull request #1 from paulrbr-fl/add-lang
paulrbr-fl [Mon, 29 Oct 2018 09:19:21 +0000 (10:19 +0100)] 
Merge pull request #1 from paulrbr-fl/add-lang

Adding LANG variable which is empty by default on Alpine

5 years agoAdding LANG variable which is empty by default on Alpine 1/head
Paul B [Mon, 29 Oct 2018 09:08:54 +0000 (10:08 +0100)] 
Adding LANG variable which is empty by default on Alpine

Problem arising with nix found by @haitlahcen

5 years agoUpdate README.md with build and hub badges
Paul B [Fri, 26 Oct 2018 11:58:28 +0000 (13:58 +0200)] 
Update README.md with build and hub badges

5 years agoci: Fix builds
Paul B [Fri, 26 Oct 2018 11:55:22 +0000 (13:55 +0200)] 
ci: Fix builds

5 years agodockerfile(entrypoint): use "login shell" in all bash commands update-entrypoint
Paul B [Fri, 26 Oct 2018 10:17:16 +0000 (12:17 +0200)] 
dockerfile(entrypoint): use "login shell" in all bash commands

5 years agoInitial nix docker image
Paul B [Fri, 26 Oct 2018 09:14:29 +0000 (11:14 +0200)] 
Initial nix docker image