mirror of
https://github.com/containers/podman.git
synced 2025-10-25 02:04:43 +08:00
Swap from FFJSON to easyjson
FFJSON has serialization differences versus stock Go - namely, it does not respect the MarshalText() and UnmarshalText() methods, particularly on []byte, which causes incompatability with pre-FFJSON containers which contained DNS servers. EasyJSON does not have these issues, and might even be slightly faster. Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #1322 Approved by: mheon
This commit is contained in:
@ -63,11 +63,11 @@ RUN set -x \
|
||||
&& export GOPATH=/go \
|
||||
&& go get github.com/onsi/gomega/...
|
||||
|
||||
# Install ffjson
|
||||
# Install easyjson
|
||||
RUN set -x \
|
||||
&& export GOPATH=/go \
|
||||
&& go get github.com/pquerna/ffjson \
|
||||
&& install -D -m 755 "$GOPATH"/bin/ffjson /usr/bin/
|
||||
&& go get -u github.com/mailru/easyjson/... \
|
||||
&& install -D -m 755 "$GOPATH"/bin/easyjson /usr/bin/
|
||||
|
||||
# Install conmon
|
||||
ENV CRIO_COMMIT 662dbb31b5d4f5ed54511a47cde7190c61c28677
|
||||
|
||||
Reference in New Issue
Block a user