fix docker and linux build
This commit is contained in:
		@@ -2,7 +2,7 @@ FROM alpine:3.12 as build
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
RUN apk add --no-cache \
 | 
					RUN apk add --no-cache \
 | 
				
			||||||
    gcc g++ musl-dev linux-headers \
 | 
					    gcc g++ musl-dev linux-headers \
 | 
				
			||||||
    cmake mbedtls-dev make zlib-dev python3-dev ninja
 | 
					    cmake mbedtls-dev make zlib-dev python3-dev ninja git
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN addgroup -S app && \
 | 
					RUN addgroup -S app && \
 | 
				
			||||||
    adduser -S -G app app && \
 | 
					    adduser -S -G app app && \
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -62,7 +62,7 @@ namespace ix
 | 
				
			|||||||
    bool gzipDecompress(const std::string& in, std::string& out)
 | 
					    bool gzipDecompress(const std::string& in, std::string& out)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        z_stream inflateState;
 | 
					        z_stream inflateState;
 | 
				
			||||||
        std::memset(&inflateState, 0, sizeof(inflateState));
 | 
					        memset(&inflateState, 0, sizeof(inflateState));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        inflateState.zalloc = Z_NULL;
 | 
					        inflateState.zalloc = Z_NULL;
 | 
				
			||||||
        inflateState.zfree = Z_NULL;
 | 
					        inflateState.zfree = Z_NULL;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user