File tree Expand file tree Collapse file tree
spec/beef/core/main/network_stack/handlers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515# ##########################################################################################################
1616
1717# ---------------------------- Start of Builder 0 - Gemset Build ------------------------------------------
18- FROM ruby:3.4.7-slim-bullseye AS builder
18+ FROM ruby:3.4.7-slim-bookworm AS builder
1919
2020COPY . /beef
2121
@@ -28,10 +28,12 @@ RUN echo "gem: --no-ri --no-rdoc" > /etc/gemrc \
2828 git \
2929 curl \
3030 xz-utils \
31+ pkg-config \
3132 make \
3233 g++ \
3334 libcurl4-openssl-dev \
3435 ruby-dev \
36+ libyaml-dev \
3537 libffi-dev \
3638 zlib1g-dev \
3739 libsqlite3-dev \
@@ -44,7 +46,7 @@ RUN echo "gem: --no-ri --no-rdoc" > /etc/gemrc \
4446
4547
4648# ---------------------------- Start of Builder 1 - Final Build ------------------------------------------
47- FROM ruby:3.4.7-slim-bullseye
49+ FROM ruby:3.4.7-slim-bookworm
4850LABEL maintainer="Beef Project" \
4951 source_url="github.com/beefproject/beef" \
5052 homepage="https://beefproject.com/"
@@ -61,6 +63,9 @@ RUN adduser --home /beef --gecos beef --disabled-password beef \
6163 && apt-get update \
6264 && apt-get install -y --no-install-recommends \
6365 curl \
66+ wget \
67+ espeak \
68+ lame \
6469 openssl \
6570 libssl-dev \
6671 libreadline-dev \
Original file line number Diff line number Diff line change 3232 response = Curl ::Easy . http_get ( "http://127.0.0.1:#{ @port } /test/" )
3333 expect ( response . response_code ) . to eql ( 302 )
3434 expect ( response . body_str ) . to eql ( "302 found" )
35- expect ( response . header_str ) . to match ( /Location: http:\/ \/ www.beefproject\. com/ )
35+ expect ( response . header_str ) . to match ( /^location: \s * http:\/ \/ www\ . beefproject\. com\r ?$/i )
3636 end
3737
3838end
You can’t perform that action at this time.
0 commit comments