Comments (8)
Hi, thanks for reporting this. It has already been fixed and a release is on the way
from symbolic.
Quick follow-up: We're introducing a couple of breaking changes so the release might actually take a little longer. In the meanwhile, you can always just use the prebuilt wheels that we distribute with every release.
from symbolic.
I understand
I forgot to mention that the prebuilt wheels doesn't works because I use Alpine.
Thanks
from symbolic.
Just a quick heads up: sentry itself does not run on alpine so if the attempt is to make sentry work on alpine that won't go very far :)
from symbolic.
Well to be honest, I don't have much knowledge of sentry because I'm new to this wonderful project, but I was able to run sentry on alpine and it seams to be working, I'm missing something?
I had a restricted environment for a client that manage PHI and because the rest of the containers are based on alpine I try installing onpremise using alpine and except symbolic
compilation, I have not faced big problems so far.
This is my dockerfile
FROM alpine:3.7
RUN set -ex &&\
apk upgrade --no-cache &&\
echo "@edge-testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories &&\
echo "@v36-main http://dl-cdn.alpinelinux.org/alpine/v3.6/main" >> /etc/apk/repositories &&\
apk add --no-cache \
jansson \
libcap \
libjpeg-turbo \
libpq@v36-main \
libxslt \
openjpeg \
pcre \
tiff \
tzdata &&\
apk add --no-cache \
libmemcached \
memcached \
postgresql-client@v36-main \
postgresql-contrib@v36-main \
postgresql@v36-main \
py2-pip \
rabbitmq-server@edge-testing \
redis &&\
pip install --no-cache-dir --disable-pip-version-check --use-wheel --no-index \
--find-links=https://private/wheels/sentry/8.22.0 \
librabbitmq \
python-memcached \
sentry \
sentry-plugins
RUN set -ex &&\
addgroup -S sentry && adduser -h /var/lib/sentry -G sentry -S -D -s /sbin/nologin -g sentry sentry &&\
install -d -o nobody -g nobody -m 0755 \
/var/log/memcached \
/var/log/postgresql \
/var/log/rabbitmq \
/var/log/redis \
/var/log/sentry-cron \
/var/log/sentry-web \
/var/log/sentry-worker &&\
install -d -o memcached -g memcached -m 0755 /var/lib/memcached
RUN set -ex &&\
apk add --no-cache \
curl \
htop \
multitail \
nano
ENV ENV /etc/profile
ENV LANG en_US.utf8
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS 2
ENV S6_LOGGING_SCRIPT "n30 s268435455 T"
ENV TERM xterm-256color
ADD s6-overlay-amd64.tar.gz /
COPY . /
ENTRYPOINT ["/init"]
I previously build all sentry wheels using an alpine box prepared for that, here is the dockerfile
FROM alpine:3.7
RUN set -ex &&\
apk update &&\
apk upgrade &&\
echo "@edge-testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories &&\
echo "@v36-main http://dl-cdn.alpinelinux.org/alpine/v3.6/main" >> /etc/apk/repositories &&\
apk update &&\
apk add \
attr-dev \
build-base \
cargo \
curl-dev \
freetype-dev \
geoip-dev \
git \
jansson-dev \
jpeg-dev \
lcms2-dev \
less \
libcap-dev \
libffi-dev \
libpng-dev \
libwebp-dev \
libxml2-dev \
libxslt-dev \
linux-headers \
linux-pam-dev \
lua5.2-dev \
ncdu \
openjpeg-dev \
paxmark \
pcre-dev \
postgresql-dev@v36-main \
py-setuptools \
python-dev \
tiff-dev \
zeromq-dev \
zlib-dev &&\
apk add py2-pip &&\
pip install --no-cache-dir --disable-pip-version-check wheel
ENV ENV /etc/profile
ENV TERM xterm-256color
COPY rootfs/ /
COPY docker-build docker-run Dockerfile /
WORKDIR dist
cd `mktemp -d`
git clone https://github.com/getsentry/symbolic
cd symbolic
git submodule update --init --recursive
make wheel
cp py/dist/*.whl /wheels/
cd /dist
rm -r ${OLDPWD}
pip wheel --wheel-dir=`pwd` --find-links=`pwd` sentry
pip wheel --wheel-dir=`pwd` --find-links=`pwd` librabbitmq
pip wheel --wheel-dir=`pwd` --find-links=`pwd` python-memcached
from symbolic.
Maybe we're in a better state now that we changed some of our dependencies. In the past we were unable to provide an alpine based docker installation because we needed glibc.
from symbolic.
Fixed in 2.0.0
, the wheel now correctly compile in alpine. Thanks!
from symbolic.
This sudo apt-get install -y cargo
fixed it for me.
from symbolic.
Related Issues (20)
- Support .NET SourceLink HOT 3
- Consider changing `DebugSession::source_by_path()` to `&mut self` HOT 2
- Git release 11.0.0 was not merged back into master HOT 1
- Unable to apply DIF to events from MacOS HOT 2
- Bad line record addresses in Breakpad sym files can cause problems HOT 2
- Corrupted dwarf debug data when include_sources=true HOT 8
- Embedded symbols/sources not found HOT 9
- Portable PDB reader row-size broken for MAUI HOT 3
- How to deal with HiddenSequencePoints in PortablePDB
- Incorrect uuid dependency in symbolic-ppdb HOT 2
- RUSTSEC-2021-0153: `encoding` is unmaintained HOT 1
- How to build linux python package on macos? HOT 1
- Symbolic cannot find unwind information HOT 5
- Flutter web symbolication uses `scope` instead of `name` but the `name` in some cases if not all is better HOT 1
- How to get list of all objective C classes from symcache of an ios app
- How to use `symbolic` to symbolicate a stack trace? HOT 7
- Demangle stack trace in Python
- Add SourceLink support to SourceBundles HOT 1
- Symbolicate runtime types for Flutter web events HOT 3
- Deduplicate PDB function entries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from symbolic.