Remove Hugo version from builds (use latest). (#19)
Remove Hugo version from builds (use latest). Reviewed-by: steverusso <steverusso@protonmail.com>
This commit was merged in pull request #19.
	This commit is contained in:
		@@ -6,7 +6,7 @@ WORKDIR /src
 | 
				
			|||||||
# Get hugo -- using the edge branch to get latest version
 | 
					# Get hugo -- using the edge branch to get latest version
 | 
				
			||||||
RUN sed -i -e 's/v[[:digit:]]\..*\//edge\//g' /etc/apk/repositories
 | 
					RUN sed -i -e 's/v[[:digit:]]\..*\//edge\//g' /etc/apk/repositories
 | 
				
			||||||
RUN apk update && apk upgrade && \
 | 
					RUN apk update && apk upgrade && \
 | 
				
			||||||
    apk add --no-cache hugo=0.71.1-r0
 | 
					    apk add --no-cache hugo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Run the development server
 | 
					# Run the development server
 | 
				
			||||||
ENTRYPOINT hugo server --bind 0.0.0.0
 | 
					ENTRYPOINT hugo server --bind 0.0.0.0
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,7 +8,7 @@ COPY . /src/
 | 
				
			|||||||
# Get hugo -- using the edge branch to get latest version
 | 
					# Get hugo -- using the edge branch to get latest version
 | 
				
			||||||
RUN sed -i -e 's/v[[:digit:]]\..*\//edge\//g' /etc/apk/repositories
 | 
					RUN sed -i -e 's/v[[:digit:]]\..*\//edge\//g' /etc/apk/repositories
 | 
				
			||||||
RUN apk update && apk upgrade && \
 | 
					RUN apk update && apk upgrade && \
 | 
				
			||||||
    apk add --no-cache hugo=0.71.1-r0
 | 
					    apk add --no-cache hugo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN hugo --minify
 | 
					RUN hugo --minify
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user