anchor.diff:       /pulsar/bin/
   
   # copy python test examples
  -
   RUN mkdir -p /pulsar/instances/deps
  -
  -ENV GOLANG_VERSION 1.13.3
  -
  -RUN curl -sSL https://storage.googleapis.com/golang/go$GOLANG_VERSION.linux-amd64.tar.gz \
  -		| tar -v -C /usr/local -xz
  -
  -# RUN wget https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz && tar -xvf go1.13.3.linux-amd64.tar.gz && mv go /usr/local
  -# RUN export GOROOT=/usr/local/go && export GOPATH=$HOME/go && export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
  -# RUN echo "export GOROOT=/usr/local/go" >> ~/.profile && echo "export GOPATH=$HOME/go" >> ~/.profile && echo "export PATH=$GOPATH/bin:$GOROOT/bin:$PATH" >> ~/.profile
  -
  -ENV PATH /usr/local/go/bin:$PATH
  -
  -RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
  -ENV GOROOT /usr/local/go
  -ENV GOPATH /go
  -ENV PATH /go/bin:$PATH
  -
   COPY python-examples/exclamation_lib.py /pulsar/instances/deps/
   COPY python-examples/exclamation_with_extra_deps.py /pulsar/examples/python-examples/
   COPY python-examples/exclamation.zip /pulsar/examples/python-examples/
  
positive.code: # under the License.
  #
  
  FROM apachepulsar/pulsar-all:latest
  
  # Switch to run as the root user to simplify building container and then running
  
negative.code: COPY python-examples/consumer_schema.py /pulsar/examples/python-examples/
  COPY python-examples/exception_function.py /pulsar/examples/python-examples/
  
  # copy java test examples
  COPY target/java-test-functions.jar /pulsar/examples/
  
  # copy go test examples
  COPY --from=pulsar-function-go /go/bin /pulsar/examples/go-examples
  
  # change ownership of files
  RUN chown -R pulsar:0 /pulsar && chmod -R g=u /pulsar
  
  # remove static libpulsar*.a libraries to reduce image size
  RUN rm /usr/lib/libpulsar*.a
  # remove gcc
  RUN apt-get -y remove --autoremove --purge build-essential
  
  # cleanup
  RUN apt-get -y autoremove \
      && apt-get clean \
      && apt-get autoclean \
      && rm -rf /var/lib/apt/lists/*
  
  CMD bash