Skip to content

Docker image doesn't build due to sasl #2927

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MOZGIII opened this issue Jul 1, 2020 · 0 comments
Closed

Docker image doesn't build due to sasl #2927

MOZGIII opened this issue Jul 1, 2020 · 0 comments

Comments

@MOZGIII
Copy link
Contributor

MOZGIII commented Jul 1, 2020

Found in here: https://github.com/timberio/vector/pull/2702/checks?check_run_id=825720739

+ docker build --tag localhost/vector-test:test-1593592052-3ddsii19-debian target/artifacts -f distribution/docker/debian/Dockerfile
Sending build context to Docker daemon  44.69MB

Step 1/9 : FROM debian:buster-slim AS builder
buster-slim: Pulling from library/debian
8559a31e96f4: Pulling fs layer
8559a31e96f4: Verifying Checksum
8559a31e96f4: Download complete
8559a31e96f4: Pull complete
Digest: sha256:d67632d49fcae559f86bd2b685c9159d0b1e799fd1d109dfbfccfab4ea773ba5
Status: Downloaded newer image for debian:buster-slim
 ---> 43e3995ee54a
Step 2/9 : COPY vector-*.deb ./
 ---> 70422016bc7e
Step 3/9 : RUN dpkg -i vector-$(dpkg --print-architecture).deb
 ---> Running in b0d359d28690
Selecting previously unselected package vector.
(Reading database ... 6460 files and directories currently installed.)
Preparing to unpack vector-amd64.deb ...
Unpacking vector (0.10.0) ...
dpkg: dependency problems prevent configuration of vector:
 vector depends on libsasl2-2 (>= 2.1.26.dfsg1); however:
  Package libsasl2-2 is not installed.

dpkg: error processing package vector (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 vector
The command '/bin/sh -c dpkg -i vector-$(dpkg --print-architecture).deb' returned a non-zero code: 1

The easiest fix is probably to add libsasl2-2 to the installation explicitly. #2928 implements this.

Although we might want to take a different route, and link to libsasl statically.

CC @fanatid

@MOZGIII MOZGIII changed the title Docker image doesn't build due to sasl Docker image doesn't build due to sasl Jul 1, 2020
@MOZGIII MOZGIII closed this as completed Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant