Fix Dockerfile

This commit is contained in:
M. Mert Yildiran
2022-01-18 01:52:44 +03:00
parent 1980e9e5ed
commit 1374a7982d
2 changed files with 10 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
ARG ARCH=
ARG GOARCH=
ARG ARCH
ARG GOARCH
FROM ${ARCH}/node:14 AS site-build
ARG ARCH
ARG GOARCH
WORKDIR /app/ui-build
@@ -12,6 +14,9 @@ RUN npm run build
FROM ${ARCH}/golang:1.17-alpine AS builder
ARG ARCH
ARG GOARCH
# Set necessary environment variables needed for our image.
ENV CGO_ENABLED=1 GOOS=linux GOARCH=${GOARCH}
@@ -47,6 +52,8 @@ COPY devops/build_extensions.sh ..
RUN cd .. && /bin/bash build_extensions.sh
FROM ${ARCH}/alpine:3.15
ARG ARCH
ARG GOARCH
RUN apk add bash libpcap-dev

View File

@@ -17,5 +17,5 @@ const (
BasenineHost = "127.0.0.1"
BaseninePort = "9099"
BasenineImageRepo = "docker.io/up9inc/basenine"
BasenineImageTag = "v0.4.10"
BasenineImageTag = "v0.4.11"
)