Comments (3)
Why specifically a release is needed?
Maybe just point it to a commit you need?
from websocat.
For our specific use case, we are using websocat in our development environment with pre-defined Dockerfiles. This setup ensures user dev ide (like gitpod) and stream some OS information to our servers. Currently we solve it in staticly Dockerfile CMD and username:password from explicitly format (which new process could see password with "ps aux"). But it would be a great to just inject as ENV value and then new processes could not access websocat password by just typing "ps aux".
I requested this feature cause in Dockerfile we are writing multistage to build ENV supported version instead of "apk add websocat". But if you release with new version i will just reduce one stage and env value format that easy to manage. Its a presonal request actually 😅.
Yeah exact commit version clone and build from source code with Rust solves currently. Thanks for this amazing product.🔥
from websocat.
I tried this and if anyone read this issue later. Maybe below code helps.
# stage 2 - build websocat
FROM rust:1.78.0-alpine3.19 as buildsocat
WORKDIR /tmp
# websocat build from source:
# Issue: https://github.com/vi/websocat/issues/240
# Resolved: https://github.com/vi/websocat/tree/e289e9f039169e2bc9df3c0b1aaf15a59f948aac
RUN apk add --no-cache git openssl libressl-dev
RUN git clone https://github.com/vi/websocat.git \
&& cd websocat \
&& git checkout e289e9f039169e2bc9df3c0b1aaf15a59f948aac
WORKDIR /tmp/websocat
RUN cargo build --release --features=ssl
# Stage 3 or later you can copy executable like below.
COPY --from=buildsocat /tmp/websocat/target/release/websocat /usr/bin/websocat
from websocat.
Related Issues (20)
- Specify TLS hostname separately from connect hostname HOT 2
- Refersh header while interractive session is in progress HOT 15
- Question: how do websocat know the other one reached EOF ?
- How do websocat know the other one reached EOF ? HOT 3
- Print more details on I/O failure
- websocat does not report errors when the connection dies HOT 1
- Is there any way to print plain text of request and response when connecting to wss endpoint ? HOT 1
- Pkcs12 compatibility issues on OpenSSL 1.x.x HOT 5
- Consider allowing basic auth to be passed in environment variable to hide it from the rest of users HOT 4
- Saving Response from Websocat on windows OS HOT 1
- Websocat client cannot connect even though wscat does? HOT 2
- pipe commands to websocat? HOT 3
- Cannot install in Fedora 40 container HOT 2
- websocat sometimes doesn't flush pending data, hangs HOT 6
- Feature request: Filter out whitespace from CLI HOT 4
- support overlay abstract-dgram-listen & unix-dgram-listen HOT 1
- Process does not terminate HOT 3
- How can I pass an argument with websocat without using echo? HOT 2
- Feature request: handle Unix Domain Socket (UDS) HOT 1
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 websocat.