!VhbWwlUdjHkamKnfrK:nixos.org

Nix: Cloud Native

260 Members
62 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
29 May 2021
@edude03:matrix.orgedude03 joined the room.01:26:40
@ldesgoui:matrix.orgldesgoui

Good morning, it is time to do cursed things

# ATTN: This Dockerfile is only here to provide compatibility
# We are now building images using Nix (https://nixos.org)
# Building using this Dockerfile is discouraged, it may also be flimsy

from nixpkgs/nix as builder

env NIX_PATH="nixpkgs=channel:nixos-20.09"

workdir /src

# You have to edit this to actually copy project sources over
copy default.nix .

run nix build \
    --print-build-logs \
    --option filter-syscalls false \
    --option keep-build-log false \
    --option max-jobs auto \
    --option sandbox false \
 && mkdir /archive \
 && tar zxf ./result -C /archive \
 && mkdir /fs \
 && nix run nixpkgs.jq -c jq -r '.[0].Layers[]' /archive/manifest.json \
  | nix run nixpkgs.findutils -c xargs -i tar xf /archive/{} -C /fs

from scratch as runner

copy --from=builder /fs /

# You might need to set CMD or ENTRYPOINT here
14:57:43
@shane:sveller.socialshanesveller joined the room.20:43:44
@shane:sveller.socialshanesveller changed their profile picture.21:09:45
30 May 2021
@risson:lama-corp.spacerisson joined the room.08:56:19
31 May 2021
@0x4a6f:matrix.org[0x4A6F] changed their display name from [0x4A6F] to 0x4A6F.08:23:51
@thefloweringash:matrix.orgthefloweringash joined the room.12:14:46
1 Jun 2021
@0x4a6f:matrix.org[0x4A6F] changed their display name from 0x4A6F to [0x4A6F].06:35:25
2 Jun 2021
@arianvp:matrix.orgArian joined the room.07:44:57
6 Jun 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao) joined the room.20:16:20
8 Jun 2021
@jackdk:matrix.orgjackdk joined the room.00:09:18
@colemickens:matrix.orgcolemickensWelp Oracle, I like free, so here we go.23:34:42
9 Jun 2021
@evax:matrix.orgevax joined the room.06:52:29
14 Jun 2021
@dandellion:dodsorf.asDandellion changed their profile picture.14:48:29

Show newer messages


Back to Room ListRoom Version: 6