This commit is contained in:
@@ -40,9 +40,8 @@ RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 bee pack
|
||||
|
||||
# unpack bee's tarball
|
||||
RUN mkdir -p /app/extracted && \
|
||||
tar -zxvf oc-discovery.tar.gz -C /app/extracted && \
|
||||
sed -i 's#http://127.0.0.1:8080/swagger/swagger.json#swagger.json#g' \
|
||||
/app/extracted/swagger/index.html
|
||||
tar -zxvf oc-discovery.tar.gz -C /app/extracted
|
||||
#&& \ sed -i 's#http://127.0.0.1:8080/swagger/swagger.json#swagger.json#g' /app/extracted/swagger/index.html
|
||||
|
||||
# -------------------- final image --------------------
|
||||
FROM scratch
|
||||
|
||||
Reference in New Issue
Block a user