File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ export async function build(
33
33
. pipeline ( Job . build )
34
34
. container ( )
35
35
. from ( "pkgxdev/pkgx:latest" )
36
+ . withExec ( [ "apt-get" , "update" ] )
37
+ . withExec ( [ "apt-get" , "install" , "-y" , "ca-certificates" ] )
36
38
. withMountedCache ( "/root/.pkgx" , dag . cacheVolume ( "pkgx-cache" ) )
37
39
. withExec ( [ "pkgx" , "install" , "nixpacks" , "docker" ] )
38
40
. withExec ( [ "nixpacks" , "--version" ] )
@@ -99,6 +101,8 @@ export async function dev(
99
101
. pipeline ( Job . dev )
100
102
. container ( )
101
103
. from ( "pkgxdev/pkgx:latest" )
104
+ . withExec ( [ "apt-get" , "update" ] )
105
+ . withExec ( [ "apt-get" , "install" , "-y" , "ca-certificates" ] )
102
106
. withMountedCache ( "/root/.pkgx" , dag . cacheVolume ( "pkgx-cache" ) )
103
107
. withExec ( [ "pkgx" , "install" , "nixpacks" , "docker" ] )
104
108
. withExec ( [ "nixpacks" , "--version" ] )
Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ export const docker = (version = "24.0", cached = false) => {
40
40
) ;
41
41
}
42
42
return ctr
43
+ . withExec ( [ "apk" , "update" ] )
44
+ . withExec ( [ "apk" , "add" , "ca-certificates" ] )
45
+ . withExec ( [ "sh" , "-c" , "rm -rf /var/cache/apk/*" ] )
46
+ . withExec ( [ "update-ca-certificates" ] )
43
47
. withExec (
44
48
[
45
49
"dockerd" ,
You can’t perform that action at this time.
0 commit comments