Jelajahi Sumber

chore: revert setting zmq in dev images

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
Jiyong Huang 2 tahun lalu
induk
melakukan
e724ec2a58

+ 2 - 2
.github/dockerfile/Dockerfile.alpine

@@ -1,4 +1,4 @@
-# Copyright 2022-2023 EMQ Technologies Co., Ltd.
+# Copyright 2022 EMQ Technologies Co., Ltd.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
 ARG GO_VERSION
 FROM golang:$GO_VERSION-alpine AS builder
 
-RUN apk add gcc make git libc-dev zip curl jq bash binutils-gold
+RUN apk add gcc make git libc-dev zip curl jq bash binutils-gold pkgconfig zeromq-dev
 
 RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
 

+ 2 - 2
.github/dockerfile/Dockerfile.debian

@@ -1,4 +1,4 @@
-# Copyright 2021-2023 EMQ Technologies Co., Ltd.
+# Copyright 2021 EMQ Technologies Co., Ltd.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@ FROM debian:stretch
 ARG GO_VERSION
 
 RUN apt update \
-    && apt install -y make wget git curl procps zip libucl-dev zlib1g-dev build-essential debhelper jq zip
+    && apt install -y make wget git curl procps zip libucl-dev zlib1g-dev pkg-config libczmq-dev build-essential debhelper jq zip
 
 RUN case $(dpkg --print-architecture) in \
         arm|armhf|armv7) \

+ 1 - 1
.github/workflows/build_packages.yaml

@@ -82,7 +82,7 @@ jobs:
         go-version: '1.20.2'
     - name: prepare
       run: |
-          brew install curl zip unzip gnu-sed upx
+          brew install curl zip unzip gnu-sed upx pkg-config zmq
           echo "/usr/local/bin:$PATH" >> ~/.bashrc
     - name: build
       run: |