Behavior of I/O functions is different in 3.0 from earlier versions
Probably due to the switch to musl, I/O functions which would automatically flush output to the console under Alpine 2.7 do not do so in 3.0.
Test C program:
#include <stdio.h>
int main(int argc, char** argv) {
char buffer[1024];
printf("Hello world!\n");
gets(buffer);
return 0;
}
Under Alpine 2.7, “Hello world!” will appear at the console immediately. Under 3.0, it will not appear at the console until you press and the program terminates.
(from redmine: issue id 3088, created on 2014-06-24, closed on 2014-07-11)