Fix build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler 2024-03-28 21:50:12 -04:00
parent cc20630c9e
commit f24d7ed74e

View File

@ -3,11 +3,12 @@ FROM golang:alpine AS builder
RUN mkdir -p /build/src RUN mkdir -p /build/src
RUN apk add --no-cache autoconf automake libtool make gcc g++ openssl-dev pkgconfig RUN apk add --no-cache autoconf automake libtool make gcc g++ openssl-dev pkgconfig
RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yara RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yara yara-dev
ADD . /build/src ADD . /build/src
RUN cd /build/src \ RUN export PKG_CONFIG_PATH=/usr/lib/pkgconfig && \
cd /build/src \
&& go build -o /build/yarascanner && go build -o /build/yarascanner
FROM alpine:3 FROM alpine:3