overview
Our front-end program is proxied through nginx, and our front-end and back-end are managed through docker
question
Today, if you want to combine the front-end package and nginx instance, there is a command in my dockerFile file, which is to copy an nginx.tar.gz package to the /usr/local directory and then decompress it. This nginx.tar.gz contains this. /configure file, the result is reported when executing a compilation command. /configure: No such file or directory
Troubleshoot ideas
First check if the tar.gz package can be decompressed normally
#这个命令有的linux会报错吧z去掉再试试
tar -zxvf xx.tar.gz
#报错的话用下面这个命令去掉解压参数中的z,
执行命令改为:tar -xvf xx.tar.gz。
如果还是解压还是报错说明这个文件已经被损坏了,这样就只能重新长传新的文件或者重新压缩成jar报
If you can decompress and check if there is a ./configure file in it, the error generally means that there is no.
Because I didn’t bring my own computer, I couldn’t take screenshots for everyone, so I will record it here briefly, and you can also ask questions or suggestions in the comment area