File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:24.10
1
+ FROM ubuntu:25.04
2
2
ARG BRANCH=main
3
3
4
4
# Install basic dependencies
5
5
RUN apt-get -y update && apt-get install -y build-essential curl git ca-certificates gnupg
6
6
7
7
# Install latest Node.js LTS
8
- RUN curl -fsSL https://deb.nodesource.com/setup_22 .x -o nodesource_setup.sh
8
+ RUN curl -fsSL https://deb.nodesource.com/setup_24 .x -o nodesource_setup.sh
9
9
RUN bash nodesource_setup.sh
10
10
RUN apt-get install -y nodejs
11
11
Original file line number Diff line number Diff line change @@ -552,6 +552,32 @@ async.series({
552
552
}
553
553
} ) ;
554
554
}
555
+ } ) . add ( 'sharp-mks2013' , {
556
+ defer : true ,
557
+ fn : function ( deferred ) {
558
+ sharp ( inputJpgBuffer )
559
+ . resize ( width , height , { kernel : 'mks2013' } )
560
+ . toBuffer ( function ( err ) {
561
+ if ( err ) {
562
+ throw err ;
563
+ } else {
564
+ deferred . resolve ( ) ;
565
+ }
566
+ } ) ;
567
+ }
568
+ } ) . add ( 'sharp-mks2021' , {
569
+ defer : true ,
570
+ fn : function ( deferred ) {
571
+ sharp ( inputJpgBuffer )
572
+ . resize ( width , height , { kernel : 'mks2021' } )
573
+ . toBuffer ( function ( err ) {
574
+ if ( err ) {
575
+ throw err ;
576
+ } else {
577
+ deferred . resolve ( ) ;
578
+ }
579
+ } ) ;
580
+ }
555
581
} ) . on ( 'cycle' , function ( event ) {
556
582
console . log ( 'kernels ' + String ( event . target ) ) ;
557
583
} ) . on ( 'complete' , function ( ) {
You can’t perform that action at this time.
0 commit comments