From 63289cf38516ea24de97150f8f4ce2a5e155f740 Mon Sep 17 00:00:00 2001 From: Tony Grosinger Date: Thu, 11 Jan 2024 14:20:18 -0800 Subject: [PATCH] Add nodejs --- Dockerfile | 7 +++---- {apt => files/etc/apt/keyrings}/docker.gpg | Bin files/etc/apt/keyrings/nodesource.gpg | Bin 0 -> 1185 bytes files/etc/apt/preferences.d/nodejs | 3 +++ files/etc/apt/preferences.d/nsolid | 3 +++ .../etc/apt/sources.list.d}/docker.list | 0 files/etc/apt/sources.list.d/nodesource.list | 1 + 7 files changed, 10 insertions(+), 4 deletions(-) rename {apt => files/etc/apt/keyrings}/docker.gpg (100%) create mode 100644 files/etc/apt/keyrings/nodesource.gpg create mode 100644 files/etc/apt/preferences.d/nodejs create mode 100644 files/etc/apt/preferences.d/nsolid rename {apt => files/etc/apt/sources.list.d}/docker.list (100%) create mode 100644 files/etc/apt/sources.list.d/nodesource.list diff --git a/Dockerfile b/Dockerfile index 4fa13ab..4421cbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,8 @@ FROM docker.io/library/debian:bookworm -RUN apt update && apt install -y ca-certificates +RUN apt update && apt install -y ca-certificates -COPY apt/docker.gpg /etc/apt/keyrings/docker.gpg -COPY apt/docker.list /etc/apt/sources.list.d/docker.list +COPY files/. / -RUN apt update && apt install -y docker-ce-cli docker-buildx-plugin +RUN apt update && apt install -y nodejs docker-ce-cli docker-buildx-plugin diff --git a/apt/docker.gpg b/files/etc/apt/keyrings/docker.gpg similarity index 100% rename from apt/docker.gpg rename to files/etc/apt/keyrings/docker.gpg diff --git a/files/etc/apt/keyrings/nodesource.gpg b/files/etc/apt/keyrings/nodesource.gpg new file mode 100644 index 0000000000000000000000000000000000000000..a8c38d432dbd84d6d385b83ef5d190120a65a879 GIT binary patch literal 1185 zcmV;S1YY}@0SyFKLpM+X2msnO-^kuQ?VpVuc>`e2xIx(4)B4Ppd#N~PXJQe+S;S81%!{aUTE&G(uy`_;%AEW`9&}K%6 zK+UJGS@)tonv-NeO^^PPGUCnwR?Yz*Y%1HcD!TDX801sIp6(eFc!Oq^h^qpt(#Mnw zxPaFaIe2)vlH9eR9>)L?0RRECB2H6pY-wa5JZ^JuY-waIXK-ggZf|5|b8mHWV`VO5 zZ*4w_0XPH`0RjLb1p-$?H&6l_0|pBT2nPcK1{DYb2?`4Y76JnS0v-VZ7k~f?2@o$? zwfUPH;IzxU2mUTGou>Ec+iPKN(Pskui=>=3Gcn>nep6X1{9c&0rJeYk0&Evrubk0> z98Yn9D*mVYF}MI>%Qbl;u1x0ppTDTZOdTI+g0y%_hjMG$WN_9?I|Z>>JRVA#Oh;%y zUoAcz_>XmFrb4Fp$1H&6ix0IJhyF1Bkd>Ntbi?sUD-5yx^)8Q*rcwUK|ihxhXnPKzam zg+DGO;b=`U=j9|Sf3-&ZcO z%Ew=1SW9iNgUux9FUP`Yc^8gfXiJU8#eQu3d!Y3zx0(7F%zWbU58f?)6fk1an|}xN zCk#+mk}W|R@^|I_O~5ywE5%wOd{;kqP5ojUwtii!8flSV*pTkVh?!|7Snl?>_mHIs zLo$$C5o~NA44-T;R-Og2T0GUu_XY1B*`=EQEh#{;UeE<;w00D^s9|RZy0ssjG0#`#fPy!na0162ZFIlzun;YP?PtFJZ z6*tcVM|L-U>ay-yzjoMUpRnqi))#h)*_U$l=VycIczr5nKX2pGy3jiGwo{I4SPK(Xy8k%8a%vZ=t}YI17)RdP2)i4=avzQ9Al%S7NPbNjk3*tsxOZ z3WO(v%pWG=46HLszNT;$5v}dU?^}}sp5gp55-mDkRK}ff9-g4JtN(|=sp!C3WVJ3Y literal 0 HcmV?d00001 diff --git a/files/etc/apt/preferences.d/nodejs b/files/etc/apt/preferences.d/nodejs new file mode 100644 index 0000000..908ed47 --- /dev/null +++ b/files/etc/apt/preferences.d/nodejs @@ -0,0 +1,3 @@ +Package: nodejs +Pin: origin deb.nodesource.com +Pin-Priority: 600 diff --git a/files/etc/apt/preferences.d/nsolid b/files/etc/apt/preferences.d/nsolid new file mode 100644 index 0000000..6b462eb --- /dev/null +++ b/files/etc/apt/preferences.d/nsolid @@ -0,0 +1,3 @@ +Package: nsolid +Pin: origin deb.nodesource.com +Pin-Priority: 600 diff --git a/apt/docker.list b/files/etc/apt/sources.list.d/docker.list similarity index 100% rename from apt/docker.list rename to files/etc/apt/sources.list.d/docker.list diff --git a/files/etc/apt/sources.list.d/nodesource.list b/files/etc/apt/sources.list.d/nodesource.list new file mode 100644 index 0000000..2f35e98 --- /dev/null +++ b/files/etc/apt/sources.list.d/nodesource.list @@ -0,0 +1 @@ +deb [arch=amd64 signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main