Step 3/11 : RUN apt-get update && mkdir -p /usr/share/man/man1 && apt-get install -y openjdk-8-jdk && apt-get install -y ant && apt-get clean
---> Running in 83768eb40bbe
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 https://packages.blackfire.io/debian any InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package openjdk-8-jdk
The command '/bin/sh -c apt-get update && mkdir -p /usr/share/man/man1 && apt-get install -y openjdk-8-jdk && apt-get install -y ant && apt-get clean' returned a non-zero code: 100
private createLoader(showTime: number, hideTime: number, request$: Observable<any>): Observable<boolean>
{
const timerToShow$ = timer(showTime)
.takeUntil(request$)
.mapTo(true);
const timerToHide$ = forkJoin(
request$,
timer(showTime + hideTime),
)
.skipUntil(timerToShow$)
.mapTo(false);
return merge(timerToShow$, timerToHide$);
}
private createLoader(showTime: number, hideTime: number, request$: Observable<any>): Observable<boolean> {
const timerToShow$ = timer(showTime)
.pipe(
takeUntil(request$),
mapTo(true)
);
const timerToHide$ = merge(
request$,
timer(showTime + hideTime),
)
.takeLast(2)
.pipe(
mapTo(false)
);
return merge(timerToShow$, timerToHide$);
}