lab

pwpush (latest)

Published 2025-11-27 10:07:27 +00:00 by myve

Installation

docker pull hub.myvelabs.com/lab/pwpush:latest
sha256:fea631498e4c84e85b41a8f52cc5be2357ac90d4b304234ca8a908a6a25b38f4

About this package

🔐 An application to securely communicate passwords over the web. Passwords automatically expire after a certain number of views and/or time has passed. Track who, what and when.

Image layers

ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in /
CMD ["/bin/sh"]
RUN /bin/sh -c set -eux; apk add --no-cache bzip2 ca-certificates gmp-dev libffi-dev procps yaml-dev zlib-dev ; # buildkit
RUN /bin/sh -c set -eux; mkdir -p /usr/local/etc; { echo 'install: --no-document'; echo 'update: --no-document'; } >> /usr/local/etc/gemrc # buildkit
ENV LANG=C.UTF-8
ENV RUBY_VERSION=3.2.3
ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.3.tar.xz
ENV RUBY_DOWNLOAD_SHA256=cfb231954b8c241043a538a4c682a1cca0b2016d835fee0b9e4a0be3ceba476b
RUN /bin/sh -c set -eux; apk add --no-cache --virtual .ruby-builddeps autoconf bison bzip2 bzip2-dev ca-certificates coreutils dpkg-dev dpkg g++ gcc gdbm-dev glib-dev libc-dev libffi-dev libxml2-dev libxslt-dev linux-headers make ncurses-dev openssl openssl-dev patch procps readline-dev ruby tar xz yaml-dev zlib-dev ; rustArch=; apkArch="$(apk --print-arch)"; case "$apkArch" in 'x86_64') rustArch='x86_64-unknown-linux-musl'; rustupUrl='https://static.rust-lang.org/rustup/archive/1.26.0/x86_64-unknown-linux-musl/rustup-init'; rustupSha256='7aa9e2a380a9958fc1fc426a3323209b2c86181c6816640979580f62ff7d48d4' ;; 'aarch64') rustArch='aarch64-unknown-linux-musl'; rustupUrl='https://static.rust-lang.org/rustup/archive/1.26.0/aarch64-unknown-linux-musl/rustup-init'; rustupSha256='b1962dfc18e1fd47d01341e6897cace67cddfabf547ef394e8883939bd6e002e' ;; esac; if [ -n "$rustArch" ]; then mkdir -p /tmp/rust; wget -O /tmp/rust/rustup-init "$rustupUrl"; echo "$rustupSha256 */tmp/rust/rustup-init" | sha256sum --check --strict; chmod +x /tmp/rust/rustup-init; export RUSTUP_HOME='/tmp/rust/rustup' CARGO_HOME='/tmp/rust/cargo'; export PATH="$CARGO_HOME/bin:$PATH"; /tmp/rust/rustup-init -y --no-modify-path --profile minimal --default-toolchain '1.74.1' --default-host "$rustArch"; rustc --version; cargo --version; fi; wget -O ruby.tar.xz "$RUBY_DOWNLOAD_URL"; echo "$RUBY_DOWNLOAD_SHA256 *ruby.tar.xz" | sha256sum --check --strict; mkdir -p /usr/src/ruby; tar -xJf ruby.tar.xz -C /usr/src/ruby --strip-components=1; rm ruby.tar.xz; cd /usr/src/ruby; wget -O 'thread-stack-fix.patch' 'https://bugs.ruby-lang.org/attachments/download/7081/0001-thread_pthread.c-make-get_main_stack-portable-on-lin.patch'; echo '3ab628a51d92fdf0d2b5835e93564857aea73e0c1de00313864a94a6255cb645 *thread-stack-fix.patch' | sha256sum --check --strict; patch -p1 -i thread-stack-fix.patch; rm thread-stack-fix.patch; export ac_cv_func_isnan=yes ac_cv_func_isinf=yes; { echo '#define ENABLE_PATH_CHECK 0'; echo; cat file.c; } > file.c.new; mv file.c.new file.c; autoconf; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --disable-install-doc --enable-shared ${rustArch:+--enable-yjit} ; make -j "$(nproc)"; make install; rm -rf /tmp/rust; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .ruby-rundeps $runDeps; apk del --no-network .ruby-builddeps; cd /; rm -r /usr/src/ruby; if apk --no-network list --installed | grep -v '^[.]ruby-rundeps' | grep -i ruby ; then exit 1; fi; [ "$(command -v ruby)" = '/usr/local/bin/ruby' ]; ruby --version; gem --version; bundle --version # buildkit
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 BUNDLE_APP_CONFIG=/usr/local/bundle
ENV PATH=/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN /bin/sh -c mkdir -p "$GEM_HOME" && chmod 1777 "$GEM_HOME" # buildkit
CMD ["irb"]
ARG BUNDLE_WITHOUT
ARG BUNDLE_DEPLOYMENT
LABEL maintainer=pglombardo@hey.com
RUN |2 BUNDLE_WITHOUT=development:test BUNDLE_DEPLOYMENT=true /bin/sh -c apk add --no-cache bash libc6-compat libpq mariadb-connector-c nodejs sqlite-dev tzdata # buildkit
ARG UID=1000
ARG GID=1000
RUN |4 BUNDLE_WITHOUT=development:test BUNDLE_DEPLOYMENT=true UID=1000 GID=1000 /bin/sh -c addgroup -g "${GID}" pwpusher && adduser -D -u "${UID}" -G pwpusher pwpusher # buildkit
ENV LC_CTYPE=UTF-8 LC_ALL=en_US.UTF-8
ENV APP_ROOT=/opt/PasswordPusher
WORKDIR /opt/PasswordPusher
ENV RACK_ENV=production RAILS_ENV=production
ENV SECRET_KEY_BASE=662e5f1c1f71b78c6fc0455cf72b590aefc7e924bbe356556c8dacd18fa0c6a5d7d4908afc7627bd1d6cb5ce95b610eeb64f538079d1fe07ef3d73b43ac0f8b0
COPY --chown=pwpusher:pwpusher /opt/PasswordPusher /opt/PasswordPusher # buildkit
RUN |4 BUNDLE_WITHOUT=development:test BUNDLE_DEPLOYMENT=true UID=1000 GID=1000 /bin/sh -c bundle config set without "${BUNDLE_WITHOUT}" && bundle config set deployment "${BUNDLE_DEPLOYMENT}" # buildkit
USER pwpusher
EXPOSE map[5100/tcp:{}]
ENTRYPOINT ["containers/docker/entrypoint.sh"]

Labels

Key Value
maintainer pglombardo@hey.com
org.opencontainers.image.created 2024-04-04T20:43:18.473Z
org.opencontainers.image.description 🔐 An application to securely communicate passwords over the web. Passwords automatically expire after a certain number of views and/or time has passed. Track who, what and when.
org.opencontainers.image.licenses Apache-2.0
org.opencontainers.image.revision 406931c4991597d6e2d71400cd35a727a456111b
org.opencontainers.image.source https://github.com/pglombardo/PasswordPusher
org.opencontainers.image.title PasswordPusher
org.opencontainers.image.url https://github.com/pglombardo/PasswordPusher
org.opencontainers.image.version release
Details
Container
2025-11-27 10:07:27 +00:00
3
OCI / Docker
linux/amd64
Apache-2.0
136 MiB
Versions (1) View all
latest 2025-11-27