Skip to content

Docker: Unable to locate package libthemis-dev #969

Description

@albertbuchard

Describe the bug
When trying to dockerize themis using debian (buster or bullseye) - the dockerization stops at the installation of themis with error:
Unable to locate package libthemis-dev

To Reproduce
Steps to reproduce the behavior:

  1. Create Dockerfile
FROM node:18-buster
RUN apt update && \
    apt -y install apt-transport-https

# Install themis
RUN wget -qO - https://pkgs-ce.cossacklabs.com/gpg | apt-key add -
RUN echo "deb https://pkgs-ce.cossacklabs.com/stable/debian buster main" | tee /etc/apt/sources.list.d/cossacklabs.list
RUN apt update && apt install -y libthemis-dev
  1. Run docker build .
error
 > [ 5/11] RUN apt update && apt install -y libthemis-dev:
#9 0.223 
#9 0.223 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#9 0.223 
#9 0.326 Hit:1 http://deb.debian.org/debian buster InRelease
#9 0.330 Hit:2 http://deb.debian.org/debian-security buster/updates InRelease
#9 0.342 Hit:3 http://deb.debian.org/debian buster-updates InRelease
#9 0.350 Get:4 https://pkgs-ce.cossacklabs.com/stable/debian buster InRelease [1709 B]
#9 0.816 Fetched 1709 B in 1s (3049 B/s)
#9 0.816 Reading package lists...
#9 1.159 Building dependency tree...
#9 1.223 Reading state information...
#9 1.235 21 packages can be upgraded. Run 'apt list --upgradable' to see them.
#9 1.241 
#9 1.241 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#9 1.241 
#9 1.246 Reading package lists...
#9 1.595 Building dependency tree...
#9 1.666 Reading state information...
#9 1.715 E: Unable to locate package libthemis-dev
------
executor failed running [/bin/sh -c apt update && apt install -y libthemis-dev]: exit code: 100

Expected behavior
Should find libthemis-dev

Environment (please complete the following information):

  • OS: MacOS ventura
  • Hardware: 64-bit, Macbook pro M1
  • Themis version: latest?
  • Installation way:
    • via package manager
    • built from source

Additional context
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    M1infrastructureAutomated building and packaginginstallationInstallation of Themis core and wrapper packages

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions