所以,让我们说现在我在FROM docker.elastic.co/logstash/logstash-oss:6.1.2
ENV LOGSTASH_HOME /opt/logstash
WORKDIR ${LOGSTASH_HOME}
RUN rm -f /usr/share/logstash/pipeline/logstash.conf && \
bin/logstash-plugin install logstash-input-kafka && \
bin/logstash-plugin install logstash-filter-prune
ADD pipeline/ /usr/share/logstash/pipeline/
ADD config/ /usr/share/logstash/config/
:
CMakeLists.txt
是否可以从命令行传递值而不是放置" 1"直接到set(VAR1 1)
?通过在cmd中调用CMakeLists.txt
时传递一些附加参数,例如?
感谢。